You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
29 lines
572 B
29 lines
572 B
<?php
|
|
|
|
namespace SuperGear\Directus\Collections;
|
|
|
|
/**
|
|
* endpoint "items" for directus
|
|
*
|
|
*
|
|
* @author Björn Hase
|
|
* @license http://opensource.org/licenses/MIT The MIT License
|
|
* @link https://gitlab.tentakelfabrik.de/super-gear/directus GitHub Repository
|
|
*
|
|
*/
|
|
class ItemCollection extends AbstractCollection
|
|
{
|
|
/**
|
|
*
|
|
* @param string $url
|
|
* @param string $token
|
|
*/
|
|
public function __construct($url, $token)
|
|
{
|
|
// adding endpoint for items
|
|
$this->endpoint = '/items';
|
|
|
|
parent::__construct($url, $token);
|
|
}
|
|
}
|