Свойство | Type | Description | |
---|---|---|---|
$items |
Méthode | Description | |
---|---|---|
__construct ( ) | Constructor. | |
countItems ( ) : integer | Number of items that have been written. | |
getItem ( string $path ) : Yosymfony\Spress\Core\DataSource\ItemInterface | Gets the content that has been written. | |
getItems ( ) : Yosymfony\Spress\Core\DataSource\ItemInterface[] | Gets all items that has been written. | |
hasItem ( string $path ) : boolean | Check if we have a item. | |
setUp ( ) | ||
tearDown ( ) | ||
write ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) |
Méthode | Description | |
---|---|---|
isWritable ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) |
public countItems ( ) : integer | ||
Résultat | integer |
public getItems ( ) : Yosymfony\Spress\Core\DataSource\ItemInterface[] | ||
Résultat | Yosymfony\Spress\Core\DataSource\ItemInterface[] | The array's key is the path of the item |
protected isWritable ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) | ||
$item | Yosymfony\Spress\Core\DataSource\ItemInterface |
public write ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) | ||
$item | Yosymfony\Spress\Core\DataSource\ItemInterface |