src/Theme.php
public function scope($view, $args = array(), $type = null)
    {
        $viewDir = $this->getConfig('containerDir.view');

        // Add namespace to find in a theme path.
        $path = $this->getThemeNamespace($viewDir.'.'.$view);

        return $this->of($path, $args, $type);
    }
public function scope($view, $args = array(), $type = null)
    {
        $viewDir = $this->getConfig('containerDir.view');

        // Add namespace to find in a theme path.
        $path = $this->getThemeNamespace($viewDir.'.'.$view);

        return $this->of($path, $args, $type);
    }
public function scope ( $ view , $ args = array ( ) , $ type = null ) { $ viewDir = $ this -> getConfig ( 'containerDir.view' ) ; // Add namespace to find in a theme path. $ path = $ this -> getThemeNamespace ( $ viewDir . '.' . $ view ) ; return $ this -> of ( $ path , $ args , $ type ) ; }
Container view.

Using a container module view inside a theme, this is
useful when you separate a view inside a theme.

@param  string $view
@param  array  $args
@param  string $type
@return Theme
Container view .