method route documentation in bbn\Mvc\Router

function(string $path, string $mode) { if (self::isMode($mode)) { // If there is a prepath defined we prepend it to the path if ($this->_prepath && (strpos($path, '/') !== 0) && (strpos($path, $this->_prepath) !== 0)) { $path = $this->_prepath . $path; } // We only try to retrieve a file path through a whole URL for controllers if (\in_array($mode, self::$_controllers, true)) { $this->_mode = $mode; return $this->_find_controller($path, $mode); } return $this->_find_mv($path, $mode); } return null; }

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.