init laravel-modules-template
This commit is contained in:
16
stubs/nwidart-stubs/channel.stub
Normal file
16
stubs/nwidart-stubs/channel.stub
Normal file
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace $NAMESPACE$;
|
||||
|
||||
class $CLASS$
|
||||
{
|
||||
/**
|
||||
* Create a new channel instance.
|
||||
*/
|
||||
public function __construct() {}
|
||||
|
||||
/**
|
||||
* Authenticate the user's access to the channel.
|
||||
*/
|
||||
public function join(Operator $user): array|bool {}
|
||||
}
|
Reference in New Issue
Block a user