1 | <?php namespace FreedomCore\TrinityCore\Console\Classes; |
||
7 | class Items |
||
8 | { |
||
9 | |||
10 | /** |
||
11 | * Array of items |
||
12 | * @var array |
||
13 | */ |
||
14 | protected $items = []; |
||
15 | |||
16 | /** |
||
17 | * Items constructor. |
||
18 | * @param array ...$items |
||
19 | */ |
||
20 | public function __construct(...$items) |
||
24 | |||
25 | /** |
||
26 | * Convert Class Object To Array |
||
27 | * @return array |
||
28 | */ |
||
29 | public function toArray() : array |
||
37 | |||
38 | /** |
||
39 | * Convert Class Object To TrinityCore Command Attribute |
||
40 | * @return string |
||
41 | */ |
||
42 | public function toCommandAttribute() : string |
||
50 | } |
||
51 |