Maslosoft Signals API
Class Signal
Main signals components
- Maslosoft\Signals\Signal implements Psr\Log\LoggerAwareInterface
Methods summary
public
|
|
public
mixed
|
|
public
mixed
|
|
public
string
|
|
public
|
|
public
|
#
filter(
Apply filter to current emit. |
public
object[]
|
|
public
|
|
public
|
|
public
Psr\Log\LoggerInterface
|
|
public
|
|
public
Maslosoft\EmbeDi\EmbeDi
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
|
public
|
Constants summary
string |
Slots
|
#
'slots'
|
string |
Signals
|
#
'signals'
|
string |
ConfigName
Config file name |
#
"signals"
|
Properties summary
public
string
|
$runtimePath
Runtime path is directory where config cache from yml file will be stored. Path is relative to project root. This must be writable by command line user. |
#
'runtime'
|
public
string[]
|
$paths
This paths will be searched for |
#
[
'vendor',
]
|
public
string[]
|
$ignoreDirs
Directories to ignore while scanning |
#
[
'vendor', // Vendors in vendors
'generated', // Generated data, including signals
'runtime', // Runtime data
]
|
public
string[]|object[]
|
$filters
Filters configuration. This filters will be applied to every emit. This property should contain array of class names implementing filters. |
#
[]
|
public
string[]|object[]
|
$sorters
Sorters configuration. |
#
[]
|
public
string|[]|object
|
$extractor
Extractor configuration |
#
Maslosoft\Signals\Addendum::class
|
public
string|[]|object
|
$io
Input/Output configuration, at minimum it should contain class name for builder input output interface. It can also contain array configurable options for IO class. |
#
Maslosoft\Signals\PhpFile::class
|
Magic properties
public
Psr\Log\LoggerInterface
|
$logger
Logger, set this to log warnings, notices errors. This is shorthand for |