public function makeLayoutPartial($partial, $params = [])
    {
        if (!File::isLocalPath($partial) && !File::isPathSymbol($partial)) {
            $folder = strpos($partial, '/') !== false ? dirname($partial) . '/' : '';
            $partial = $folder . '_' . strtolower(basename($partial));
        }

        return $this->makeLayout($partial, $params);
    }
public function makeLayoutPartial($partial, $params = [])
    {
        if (!File::isLocalPath($partial) && !File::isPathSymbol($partial)) {
            $folder = strpos($partial, '/') !== false ? dirname($partial) . '/' : '';
            $partial = $folder . '_' . strtolower(basename($partial));
        }

        return $this->makeLayout($partial, $params);
    }
public function makeLayoutPartial ( $ partial , $ params = [ ] ) { if ( ! File :: isLocalPath ( $ partial ) && ! File :: isPathSymbol ( $ partial ) ) { $ folder = strpos ( $ partial , '/' ) !== false ? dirname ( $ partial ) . '/' : '' ; $ partial = $ folder . '_' . strtolower ( basename ( $ partial ) ) ; } return $ this -> makeLayout ( $ partial , $ params ) ; }
Renders a layout partial
@param string $partial The view to load.
@param array $params Parameter variables to pass to the view.
@return string The layout partial contents
Renders a layout partial