dimanche 7 août 2016

Why do you still need to use the class if it is in laravel aliases?

Why do you still need to say:

use MyClass\Table\Facades\Table;

at the top of a laravel controller

even if you have specified it in app/config/app.php

'aliases' => [
    'Table'     => MyClass\Table\Facades\Table::class,



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire