method addAuthorizedRoute documentation in bbn\Mvc

Add a route to authorized routes list if not already exists.

function() { $res = 0; foreach (\func_get_args() as $a) { if (!in_array($a, $this->authorized_routes, true)) { $this->authorized_routes[] = $a; $res++; } } return $res; }

Add a route to authorized routes list if not already exists. BBN is a suite of PHP and JS libraries and VueJS components - all open-source! bbn.io, build applications, the quick way

This website uses cookies to ensure you get the best experience on our website.