Function _middleware
Simple helper to register a middleware
Package: PHPLucidFrame\Core
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Since: PHPLucidFrame v 2.0.0
Located at helpers/utility_helper.php
Copyright: Copyright (c), PHPLucidFrame.
License: MIT License This source file is subject to the MIT license that is bundled with this source code in the file LICENSE
Author: Sithu sithu@phplucidframe.com
Since: PHPLucidFrame v 2.0.0
Located at helpers/utility_helper.php
Closure |
$closure |
Anonymous function |
string |
$event = 'before' |
before (default) or after |
object
|
LucidFrame\Core\Middleware |