1 | <?php |
||
20 | class Laravel extends Standard implements Iface |
||
21 | { |
||
22 | private $fsm; |
||
23 | private $objects = []; |
||
|
|||
24 | private $tempdir; |
||
25 | |||
26 | |||
27 | /** |
||
28 | * Initializes the object |
||
29 | * |
||
30 | * @param \Illuminate\Filesystem\FilesystemManager $fsm Laravel file system manager object |
||
31 | * @param \Aimeos\MW\Config\Iface $config Configuration object |
||
32 | * @param string $tempdir Directory for storing temporary files |
||
33 | */ |
||
34 | public function __construct( \Illuminate\Filesystem\FilesystemManager $fsm, \Aimeos\MW\Config\Iface $config, $tempdir ) |
||
41 | |||
42 | |||
43 | /** |
||
44 | * Cleans up the object |
||
45 | */ |
||
46 | public function __destruct() |
||
52 | |||
53 | |||
54 | /** |
||
55 | * Clean up the objects inside |
||
56 | */ |
||
57 | public function __sleep() |
||
65 | |||
66 | |||
67 | /** |
||
68 | * Returns the file system for the given name |
||
69 | * |
||
70 | * @param string $name Key for the file system |
||
71 | * @return \Aimeos\MW\Filesystem\Iface File system object |
||
72 | * @throws \Aimeos\MW\Filesystem\Exception If an no configuration for that name is found |
||
73 | */ |
||
74 | public function get( $name ) |
||
89 | } |
||
90 |