public function init(): bool
    {
        // Sets the protected $_url
        $this->_getUrl();

        // Load the default Controller if no URL is set
        // eg: Visit http://localhost it loads Default Controller
        if (empty($this->_url[0])) {
            $this->_loadDefaultController();

            return false;
        }

        $this->_loadExistingController();
        $this->_callControllerMethod();

        return true;
    }
public function init(): bool
    {
        // Sets the protected $_url
        $this->_getUrl();

        // Load the default Controller if no URL is set
        // eg: Visit http://localhost it loads Default Controller
        if (empty($this->_url[0])) {
            $this->_loadDefaultController();

            return false;
        }

        $this->_loadExistingController();
        $this->_callControllerMethod();

        return true;
    }
public function init ( ) : bool { // Sets the protected $_url $ this -> _getUrl ( ) ; // Load the default Controller if no URL is set // eg: Visit http://localhost it loads Default Controller if ( empty ( $ this -> _url [ 0 ] ) ) { $ this -> _loadDefaultController ( ) ; return false ; } $ this -> _loadExistingController ( ) ; $ this -> _callControllerMethod ( ) ; return true ; }
Starts the Bootstrap.

@return bool
Starts the Bootstrap .