Свойство | Тип | Описание | |
---|---|---|---|
$filters | array | Filter map. | |
$options | array | Global bundle options. |
Метод | Описание | |
---|---|---|
__construct ( array $options = [], array $filters = [] ) | Contructor. | |
createBundle ( string | array $options = null ) : |
Create a Bundle instance. | |
getFilter ( string $name ) : DotsUnited\BundleFu\Filter\FilterInterface | Get a filter. | |
setFilter ( string $name, DotsUnited\BundleFu\Filter\FilterInterface $filter = null ) : |
Set a filter. | |
setOption ( string $name, mixed $value ) : |
Set an option. |
public __construct ( array $options = [], array $filters = [] ) | ||
$options | array | |
$filters | array |
public createBundle ( string | array $options = null ) : |
||
$options | string | array | An array of options or a bundle name as string |
Результат |