for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (C) eZ Systems AS. All rights reserved.
* @license For full copyright and license information view LICENSE file distributed with this source code.
*/
declare(strict_types=1);
namespace eZ\Publish\Core\REST\Server\Values;
use eZ\Publish\Core\REST\Common\Value as RestValue;
class BookmarkList extends RestValue
{
* @var int
public $totalCount = 0;
* @var \eZ\Publish\Core\REST\Server\Values\RestLocation[]
public $items = [];
* BookmarkList constructor.
*
* @param int $totalCount
* @param \eZ\Publish\Core\REST\Server\Values\RestLocation[] $items
public function __construct(int $totalCount, array $items)
$this->totalCount = $totalCount;
$this->items = $items;
}