1 | <?php namespace Rocket\UI\Assets\Assetic\Asset; |
||
5 | class WeightedAsset extends FileAsset |
||
6 | { |
||
7 | /** |
||
8 | * @var int |
||
9 | */ |
||
10 | protected $weight = 0; |
||
11 | |||
12 | /** |
||
13 | * @return int |
||
14 | */ |
||
15 | 9 | public function getWeight() |
|
16 | { |
||
17 | 9 | return $this->weight; |
|
18 | } |
||
19 | |||
20 | /** |
||
21 | * @param int $weight |
||
22 | * @return $this |
||
23 | */ |
||
24 | 9 | public function setWeight($weight) |
|
30 | } |
||
31 |