src/Layouts/Collection.php
/**
     * Find a layout based on its name
     *
     * @param  string  $name
     * @return mixed
     */
Find a layout based on its name
@param  string  $name
@return mixed
Find a layout based on its name @param string $name @return mixed
public function find($name)
    {
        return $this->first(function($layout) use ($name) {
            return $layout->name() === $name;
        });
    }
public function find ( $ name ) { return $ this -> first ( function ( $ layout ) use ( $ name ) { return $ layout -> name ( ) === $ name ; } ) ; }
Find a layout based on its name
 @param  string  $name
 @return mixed
Find a layout based on its name @param string $name @return mixed