LaravelAsset

Summary

No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A
File
asset.php
Package
Default
Class hierarchy
LaravelAsset

Tags

None found

Properties

$containers

$containers : array

All of the instantiated asset containers.

Type

array

Tags

None found

Methods

container()

container(string  $container = 'default') : \Laravel\Asset_Container

Get an asset container instance.

// Get the default asset container $container = Asset::container();

// Get a named asset container
$container = Asset::container('footer');

Parameters

string $container

Returns

LaravelAsset_Container

static

Tags

None found

__callStatic()

__callStatic(  $method,   $parameters) 

Magic Method for calling methods on the default container.

// Call the "styles" method on the default container echo Asset::styles();

// Call the "add" method on the default container
Asset::add('jquery', 'js/jquery.js');

Parameters

$method
$parameters

static

Tags

None found