| 1 | <?php |
||
| 8 | trait StorageTrait |
||
| 9 | { |
||
| 10 | private $storage; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Constructor. Set the storage option. |
||
| 14 | * |
||
| 15 | * @param string $storage |
||
| 16 | */ |
||
| 17 | public function __construct($storage = '') |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Configure the storage. |
||
| 24 | * |
||
| 25 | * @param string $storage |
||
| 26 | * |
||
| 27 | * @return self |
||
| 28 | */ |
||
| 29 | public function storage($storage) |
||
| 35 | } |
||
| 36 |