| 1 | <?php |
||
| 15 | class ErrorsController extends Controller{ |
||
|
|
|||
| 16 | |||
| 17 | /** |
||
| 18 | * Initialization method. |
||
| 19 | * |
||
| 20 | */ |
||
| 21 | public function initialize(){ |
||
| 23 | |||
| 24 | public function NotFound(){ |
||
| 27 | |||
| 28 | public function Unauthenticated(){ |
||
| 31 | |||
| 32 | public function Unauthorized(){ |
||
| 35 | |||
| 36 | public function BadRequest(){ |
||
| 39 | |||
| 40 | public function System(){ |
||
| 43 | } |
||
| 44 |
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.