프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$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 |
리턴 |