protected function __offset($elements, $value) { if (!$value) { return $elements; } return array_slice($elements, $value); }