Blueprints/src/BlueprintForm.php
public function load($extends = null)
    {
        // Only load and extend blueprint if it has not yet been loaded.
        if (empty($this->items) && $this->filename) {
            // Get list of files.
            $files = $this->getFiles($this->filename);

            // Load and extend blueprints.
            $data = $this->doLoad($files, $extends);

            $this->items = (array) array_shift($data);

            foreach ($data as $content) {
                $this->extend($content, true);
            }
        }

        // Import blueprints.
        $this->deepInit($this->items);

        return $this;
    }
public function load($extends = null)
    {
        // Only load and extend blueprint if it has not yet been loaded.
        if (empty($this->items) && $this->filename) {
            // Get list of files.
            $files = $this->getFiles($this->filename);

            // Load and extend blueprints.
            $data = $this->doLoad($files, $extends);

            $this->items = (array) array_shift($data);

            foreach ($data as $content) {
                $this->extend($content, true);
            }
        }

        // Import blueprints.
        $this->deepInit($this->items);

        return $this;
    }
public function load ( $ extends = null ) { // Only load and extend blueprint if it has not yet been loaded. if ( empty ( $ this -> items ) && $ this -> filename ) { // Get list of files. $ files = $ this -> getFiles ( $ this -> filename ) ; // Load and extend blueprints. $ data = $ this -> doLoad ( $ files , $ extends ) ; $ this -> items = ( array ) array_shift ( $ data ) ; foreach ( $ data as $ content ) { $ this -> extend ( $ content , true ) ; } } // Import blueprints. $ this -> deepInit ( $ this -> items ) ; return $ this ; }
Load blueprint.

@return $this
Load blueprint .