1
1
Fork 0
mirror of https://code.mensbeam.com/MensBeam/Arsse.git synced 2024-12-23 06:24:53 +00:00
Arsse/lib/Context/RootContext.php

22 lines
520 B
PHP
Raw Permalink Normal View History

2022-04-21 18:37:28 +00:00
<?php
/** @license MIT
* Copyright 2017 J. King, Dustin Wilson et al.
* See LICENSE and AUTHORS files for details */
declare(strict_types=1);
2022-04-21 18:37:28 +00:00
namespace JKingWeb\Arsse\Context;
2022-04-29 20:35:46 +00:00
abstract class RootContext extends AbstractContext {
2022-04-21 18:37:28 +00:00
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);
}
}