Conditions | 3 |
Paths | 3 |
Total Lines | 15 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
47 | public function get( $name ) |
||
48 | { |
||
49 | $key = $this->getConfig( $name ); |
||
50 | |||
51 | if( is_string( $key ) ) |
||
52 | { |
||
53 | if( !isset( $this->objects[$key] ) ) { |
||
54 | $this->objects[$key] = new \Aimeos\MW\Filesystem\Laravel( $this->fsm->disk( $key ) ); |
||
55 | } |
||
56 | |||
57 | return $this->objects[$key]; |
||
58 | } |
||
59 | |||
60 | return parent::get( $name ); |
||
61 | } |
||
62 | } |
||
63 |