Свойство | Type | Description | |
---|---|---|---|
$config | Holds the config class that setData needs to conforms to | ||
$data | array | Should be in the form: array( array( 'category' => 'somecategory', 'document' => 'Some document' ) ) | |
$processor | Processes the data with the config |
Méthode | Description | |
---|---|---|
__construct ( array $data = null ) | Creates the data array | |
addDocument ( $category, $document ) | ||
getCategories ( ) | ||
getConfig ( ) : mixed | Return the config for the data | |
getData ( ) | ||
hasCategory ( $category ) | ||
serialize ( ) : string | Serialize the class | |
setConfig ( |
||
setData ( array $data ) | ||
unserialize ( string $data ) : null | Restore the serialized class | |
write ( ) |
Méthode | Description | |
---|---|---|
getProcessor ( ) : mixed | Gets the processor | |
prepare ( ) | Read the data and set it | |
read ( ) | ||
setProcessor ( Symfony\Component\Config\Definition\Processor $processor ) | Sets the processor for the config |
public __construct ( array $data = null ) | ||
$data | array | The initial data |
protected getProcessor ( ) : mixed | ||
Résultat | mixed |
public setConfig ( |
||
$config |
protected setProcessor ( Symfony\Component\Config\Definition\Processor $processor ) | ||
$processor | Symfony\Component\Config\Definition\Processor |
public unserialize ( string $data ) : null | ||
$data | string | The serialized data |
Résultat | null |
protected $config |
protected array $data | ||
Résultat | array |