public function loadViews($viewNames = array(), $data = array(), $mergeData = array())
    {
        $this->children = array();
        foreach ($viewNames as $key => $viewName) {
            $className = get_class();
            $item = new $className($this->cmd, $this->folder);
            $item->loadView($viewName, $data, $mergeData);
            $this->children[] = $item;
        }

        return $this;
    }
public function loadViews($viewNames = array(), $data = array(), $mergeData = array())
    {
        $this->children = array();
        foreach ($viewNames as $key => $viewName) {
            $className = get_class();
            $item = new $className($this->cmd, $this->folder);
            $item->loadView($viewName, $data, $mergeData);
            $this->children[] = $item;
        }

        return $this;
    }
public function loadViews ( $ viewNames = array ( ) , $ data = array ( ) , $ mergeData = array ( ) ) { $ this -> children = array ( ) ; foreach ( $ viewNames as $ key => $ viewName ) { $ className = get_class ( ) ; $ item = new $ className ( $ this -> cmd , $ this -> folder ) ; $ item -> loadView ( $ viewName , $ data , $ mergeData ) ; $ this -> children [ ] = $ item ; } return $ this ; }
Mass version of the loadView function.

@param array $viewNames
Array of Laravel view names to include in resulting page. Order matters.
@param array $data
Data array is shared across all views.
@param array $mergeData

@return $this

@see: loadView()
Mass version of the loadView function .