Module
- Full name:
\PhalconKit\Ws\Module - This class implements:
ModuleDefinitionInterface
Constants
| Constant | Visibility | Type | Value |
|---|---|---|---|
NAME_WS | public | 'ws' |
Properties
name
public string $name
config
public ?\PhalconKit\Bootstrap\Config $config
dispatcher
public ?\PhalconKit\Ws\Dispatcher $dispatcher
loader
public ?\Phalcon\Autoload\Loader $loader
router
public ?\PhalconKit\Ws\Router $router
Methods
registerAutoloaders
Registers an autoloader related to the frontend module
public registerAutoloaders(?\Phalcon\Di\DiInterface $container = null): void
Parameters:
| Parameter | Type | Description |
|---|---|---|
$container | ?\Phalcon\Di\DiInterface |
registerServices
Registers services related to the module
public registerServices(\Phalcon\Di\DiInterface $container): void
Parameters:
| Parameter | Type | Description |
|---|---|---|
$container | \Phalcon\Di\DiInterface |
getNamespaces
public getNamespaces(): array
getServices
public getServices(?\Phalcon\Di\DiInterface $container = null): void
Parameters:
| Parameter | Type | Description |
|---|---|---|
$container | ?\Phalcon\Di\DiInterface |
setServices
public setServices(\Phalcon\Di\DiInterface $container): void
Parameters:
| Parameter | Type | Description |
|---|---|---|
$container | \Phalcon\Di\DiInterface |
getDefaultNamespace
public getDefaultNamespace(): string
getDirname
public getDirname(): string
getNamespace
public getNamespace(): string