Answers for "Namespaces in lumen"

0

Namespaces in lumen

$router->group(['namespace' => 'Admin'], function() use ($router)
{
    // Using The "App\Http\Controllers\Admin" Namespace...

    $router->group(['namespace' => 'User'], function() use ($router) {
        // Using The "App\Http\Controllers\Admin\User" Namespace...
    });
});
Posted by: Guest on August-06-2021

Browse Popular Code Answers by Language