App\Core\Exception\BaseException
Creation of dynamic property App\Core\Routing\Route::$routeBinder is deprecated
/home2/bacolodf/public_html/schednotes/vendor/sprnva/framework/src/Routing/Route.php:31
'GET' => [],
'POST' => [],
'DELETE' => [],
'PUT' => [],
'PATCH' => [],
'OPTIONS' => []
];
protected static $currentGroupPrefix = '';
protected static $currentGroupController = '';
protected static $currentGroupMiddleware = [];
public function __construct()
{
$this->routeBinder = new RouteBinding(static::$routes);
}
/**
* Register a method specified.
*
* @param string $uri
* @param mixed $callback
*/
public static function addRoute($method, $uri, $callback)
$groupPrefix = static::$currentGroupPrefix;
$groupController = static::$currentGroupController;
if ($groupPrefix == "") {
$_uri = $uri;