1 | <?php |
||
16 | class StylesheetAsset extends BrowserAsset |
||
17 | { |
||
18 | |||
19 | /** |
||
20 | * @var string $media |
||
21 | */ |
||
22 | private $media; |
||
23 | |||
24 | |||
25 | /** |
||
26 | * CssFile constructor. |
||
27 | * |
||
28 | * @param $handle |
||
29 | * @param string $source |
||
30 | * @param array $dependencies |
||
31 | * @param DomainInterface $domain |
||
32 | * @param $media |
||
33 | * @throws InvalidDataTypeException |
||
34 | */ |
||
35 | public function __construct($handle, $source, array $dependencies, DomainInterface $domain, $media = 'all') |
||
40 | |||
41 | |||
42 | /** |
||
43 | * @return string |
||
44 | */ |
||
45 | public function media() |
||
49 | |||
50 | |||
51 | /** |
||
52 | * @param string $media |
||
53 | * @throws InvalidDataTypeException |
||
54 | */ |
||
55 | private function setMedia($media) |
||
66 | |||
67 | |||
68 | /** |
||
69 | * @since $VID:$ |
||
70 | */ |
||
71 | public function enqueueAsset() |
||
75 | } |
||
76 |