mirror of
https://code.mensbeam.com/MensBeam/Arsse.git
synced 2024-12-23 07:14:55 +00:00
21 lines
486 B
PHP
21 lines
486 B
PHP
|
<?php
|
||
|
/** @license MIT
|
||
|
* Copyright 2017 J. King, Dustin Wilson et al.
|
||
|
* See LICENSE and AUTHORS files for details */
|
||
|
|
||
|
declare(strict_types=1);
|
||
|
namespace JKingWeb\Arsse\Context;
|
||
|
|
||
|
trait RootMembers {
|
||
|
public $limit = 0;
|
||
|
public $offset = 0;
|
||
|
|
||
|
public function limit(int $spec = null) {
|
||
|
return $this->act(__FUNCTION__, func_num_args(), $spec);
|
||
|
}
|
||
|
|
||
|
public function offset(int $spec = null) {
|
||
|
return $this->act(__FUNCTION__, func_num_args(), $spec);
|
||
|
}
|
||
|
}
|