| 1 | <?php |
||
| 8 | class elFinderPlugin |
||
|
|
|||
| 9 | { |
||
| 10 | /** |
||
| 11 | * This plugin's options. |
||
| 12 | * |
||
| 13 | * @var array |
||
| 14 | */ |
||
| 15 | protected $opts = []; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * Get current volume's options. |
||
| 19 | * |
||
| 20 | * @param object $volume |
||
| 21 | * @return array options |
||
| 22 | */ |
||
| 23 | protected function getCurrentOpts($volume) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Is enabled with options. |
||
| 39 | * |
||
| 40 | * @param array $opts |
||
| 41 | * @return bool |
||
| 42 | */ |
||
| 43 | protected function iaEnabled($opts) |
||
| 77 | } |
||
| 78 |
You can fix this by adding a namespace to your class:
When choosing a vendor namespace, try to pick something that is not too generic to avoid conflicts with other libraries.