protected function loadFile($name)
    {
        $blueprint = new Blueprint($name);

        if (\is_array($this->search) || \is_object($this->search)) {
            // Page types.
            $blueprint->setOverrides($this->search);
            $blueprint->setContext('blueprints://pages');
        } else {
            $blueprint->setContext($this->search);
        }

        return $blueprint->load()->init();
    }
protected function loadFile($name)
    {
        $blueprint = new Blueprint($name);

        if (\is_array($this->search) || \is_object($this->search)) {
            // Page types.
            $blueprint->setOverrides($this->search);
            $blueprint->setContext('blueprints://pages');
        } else {
            $blueprint->setContext($this->search);
        }

        return $blueprint->load()->init();
    }
protected function loadFile ( $ name ) { $ blueprint = new Blueprint ( $ name ) ; if ( \ is_array ( $ this -> search ) || \ is_object ( $ this -> search ) ) { // Page types. $ blueprint -> setOverrides ( $ this -> search ) ; $ blueprint -> setContext ( 'blueprints://pages' ) ; } else { $ blueprint -> setContext ( $ this -> search ) ; } return $ blueprint -> load ( ) -> init ( ) ; }
Load blueprint file.

@param  string  $name  Name of the blueprint.
@return Blueprint
Load blueprint file .