-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathAsset.php
33 lines (30 loc) · 1.18 KB
/
Asset.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?php
namespace Orchestra\Support\Facades;
use Illuminate\Support\Facades\Facade;
/**
* @method \Orchestra\Asset\Asset container(string $container = 'default')
* @method \Orchestra\Asset\Asset addVersioning()
* @method \Orchestra\Asset\Asset removeVersioning()
* @method \Orchestra\Asset\Asset prefix(?string $path = null)
* @method \Orchestra\Asset\Asset add(string|array $name, string $source, string|array $dependencies = [], string|array $attributes = [], string|array $replaces = [])
* @method \Orchestra\Asset\Asset style(string|array $name, string $source, string|array $dependencies = [], string|array $attributes = [], string|array $replaces = [])
* @method \Orchestra\Asset\Asset script(string|array $name, string $source, string|array $dependencies = [], string|array $attributes = [], string|array $replaces = [])
* @method string styles()
* @method string scripts()
* @method string show()
* @method string toHtml()
*
* @see \Orchestra\Asset\Factory
*/
class Asset extends Facade
{
/**
* Get the registered name of the component.
*
* @return string
*/
protected static function getFacadeAccessor()
{
return 'orchestra.asset';
}
}