| 1 | <?php |
||
| 11 | class Helpers |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * Results array of items from Collection or Arrayable. |
||
| 15 | * |
||
| 16 | * @param mixed $items |
||
| 17 | * @return array |
||
| 18 | */ |
||
| 19 | public static function getArrayableItems($items) |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Returns `true` if value can be used as array or traversed. |
||
| 33 | * @param $value |
||
| 34 | * @return bool |
||
| 35 | */ |
||
| 36 | public static function isArrayable($value) |
||
| 47 | } |
||
| 48 |