streams/Code/ActivityStreams/Collection.php
2023-07-17 20:45:25 +10:00

104 lines
1.6 KiB
PHP

<?php
namespace Code\ActivityStreams;
class Collection extends ASObject
{
public $totalItems;
public $current;
public $first;
public $last;
public $items;
/**
* @return mixed
*/
public function getTotalItems()
{
return $this->totalItems;
}
/**
* @param mixed $totalItems
* @return Collection
*/
public function setTotalItems($totalItems)
{
$this->totalItems = $totalItems;
return $this;
}
/**
* @return mixed
*/
public function getCurrent()
{
return $this->current;
}
/**
* @param mixed $current
* @return Collection
*/
public function setCurrent($current)
{
$this->current = $current;
return $this;
}
/**
* @return mixed
*/
public function getFirst()
{
return $this->first;
}
/**
* @param mixed $first
* @return Collection
*/
public function setFirst($first)
{
$this->first = $first;
return $this;
}
/**
* @return mixed
*/
public function getLast()
{
return $this->last;
}
/**
* @param mixed $last
* @return Collection
*/
public function setLast($last)
{
$this->last = $last;
return $this;
}
/**
* @return mixed
*/
public function getItems()
{
return $this->items;
}
/**
* @param mixed $items
* @return Collection
*/
public function setItems($items)
{
$this->items = $items;
return $this;
}
}