Property | Type | Description | |
---|---|---|---|
$items | |||
$siteAttributes |
Method | Description | |
---|---|---|
__construct ( array $items, array $siteAttributes ) | Constructor. | |
getItems ( ) : Yosymfony\Spress\Core\DataSource\ItemInterface[] | Gets items. | |
getSiteAttributes ( ) : array | Gets site attributes. |
public __construct ( array $items, array $siteAttributes ) | ||
$items | array | |
$siteAttributes | array | The site attributes used for rendering the site |
public getItems ( ) : Yosymfony\Spress\Core\DataSource\ItemInterface[] | ||
return | Yosymfony\Spress\Core\DataSource\ItemInterface[] |
public getSiteAttributes ( ) : array | ||
return | array |