ServicePluginConfigurator
class ServicePluginConfigurator extends BaseConfiguratorReader
Class ServicePluginConfigurator - loads services from plugins
Properties
| protected | $tokens | from BaseConfiguratorReader | |
| protected | $line | from BaseConfiguratorReader |
Methods
__construct(string $file)
Constructor.
Boolean
addResource(string $plugin)
Adds a service resource at the top of the existing ones.
Details
in BaseConfiguratorReader at line 26
protected
setCode(array $tokens, int $line = 0)
Sets the code to manipulate.
in BaseConfiguratorReader at line 36
protected mixed
next()
Gets the next token.
in BaseConfiguratorReader at line 56
protected mixed
peek(int $nb = 1)
Peeks the next token.
in BaseConfiguratorReader at line 78
protected mixed
value(mixed $token)
Gets a value of a token
at line 24
__construct(string $file)
Constructor.
at line 38
Boolean
addResource(string $plugin)
Adds a service resource at the top of the existing ones.