Property | Type | Description | |
---|---|---|---|
$items |
Method | 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 ) |
Method | Description | |
---|---|---|
isWritable ( Yosymfony\Spress\Core\DataSource\ItemInterface $item ) |
public countItems ( ) : integer | ||
return | integer |
public getItems ( ) : Yosymfony\Spress\Core\DataSource\ItemInterface[] | ||
return | 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 |