| Total Complexity | 2 |
| Total Lines | 57 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class SamplesController extends Controller |
||
| 24 | { |
||
| 25 | // Public Properties |
||
| 26 | // ========================================================================= |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @var null|int |
||
| 30 | */ |
||
| 31 | public $limit; |
||
| 32 | |||
| 33 | // Protected Properties |
||
| 34 | // ========================================================================= |
||
| 35 | |||
| 36 | /** |
||
| 37 | * @var bool|array |
||
| 38 | */ |
||
| 39 | protected $allowAnonymous = [ |
||
| 40 | ]; |
||
| 41 | |||
| 42 | // Public Methods |
||
| 43 | // ========================================================================= |
||
| 44 | |||
| 45 | /** |
||
| 46 | * @param string $actionID |
||
| 47 | * |
||
| 48 | * @return array|string[] |
||
| 49 | */ |
||
| 50 | public function options($actionID): array |
||
| 54 | ]; |
||
| 55 | } |
||
| 56 | |||
| 57 | /** |
||
| 58 | * Trim the Webperf Data Samples and Error Samples database tables |
||
| 59 | * |
||
| 60 | * @return int |
||
| 61 | */ |
||
| 62 | public function actionTrim(): int |
||
| 82 |