| 1 | <?php |
||
| 9 | class PedigreeUtilities |
||
|
|
|||
| 10 | { |
||
| 11 | |||
| 12 | /** |
||
| 13 | * Function responsible for checking if a directory exists, we can also write in and create an index.html file |
||
| 14 | * |
||
| 15 | * @param string $folder The full path of the directory to check |
||
| 16 | * |
||
| 17 | * @return void |
||
| 18 | */ |
||
| 19 | public static function prepareFolder($folder) |
||
| 28 | } |
||
| 29 |
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.