PHP Class Jenssegers\Blade\Blade

Datei anzeigen Open project: jenssegers/blade Class Usage Examples

Protected Properties

Property Type Description
$container Illuminate\Container\Container Container instance.
$engineResolver Engine Resolver

Public Methods

Method Description
__call ( string $method, array $params ) : mixed Pass any method to the view factory instance.
__construct ( array $viewPaths, string $cachePath, Illuminate\Contracts\Container\Container $container = null ) Constructor.
compiler ( ) : mixed Get the compiler
render ( string $view, array $data = [], array $mergeData = [] ) : string Render shortcut.

Protected Methods

Method Description
setupContainer ( ) Bind required instances for the service provider.

Method Details

__call() public method

Pass any method to the view factory instance.
public __call ( string $method, array $params ) : mixed
$method string
$params array
return mixed

__construct() public method

Constructor.
public __construct ( array $viewPaths, string $cachePath, Illuminate\Contracts\Container\Container $container = null )
$viewPaths array
$cachePath string
$container Illuminate\Contracts\Container\Container

compiler() public method

Get the compiler
public compiler ( ) : mixed
return mixed

render() public method

Render shortcut.
public render ( string $view, array $data = [], array $mergeData = [] ) : string
$view string
$data array
$mergeData array
return string

setupContainer() protected method

Bind required instances for the service provider.
protected setupContainer ( )

Property Details

$container protected_oe property

Container instance.
protected Container,Illuminate\Container $container
return Illuminate\Container\Container

$engineResolver protected_oe property

Engine Resolver
protected $engineResolver