public function checkIfAliasExists($name){

        if( isset($this->aliases[$name]) ){
            return true;
        }

        $aliasPath = vibius_BASEPATH.$this->aliasCache.$name.".php";
        if( file_exists($aliasPath) ){
            $this->aliases[$name] = true;
            return true;
        }
    }
public function checkIfAliasExists($name){

        if( isset($this->aliases[$name]) ){
            return true;
        }

        $aliasPath = vibius_BASEPATH.$this->aliasCache.$name.".php";
        if( file_exists($aliasPath) ){
            $this->aliases[$name] = true;
            return true;
        }
    }
public function checkIfAliasExists ( $ name ) { if ( isset ( $ this -> aliases [ $ name ] ) ) { return true ; } $ aliasPath = vibius_BASEPATH . $ this -> aliasCache . $ name . ".php" ; if ( file_exists ( $ aliasPath ) ) { $ this -> aliases [ $ name ] = true ; return true ; } }
This method is used to check if alias exists in the cache
@param string $name Name of the alias to be checked
@return boolean True if alias exists in the cache
This method is used to check if alias exists in the cache