1 | <?php |
||
29 | final class AssetImage extends AssetsAbstract implements AssetImageInterface |
||
30 | { |
||
31 | |||
32 | /** |
||
33 | * Image crossorigin |
||
34 | * |
||
35 | * @var string |
||
36 | */ |
||
37 | protected $attr_crossorigin; |
||
38 | |||
39 | 1 | public function init() |
|
43 | |||
44 | /** |
||
45 | * Set crossorigin attribute of the image |
||
46 | * |
||
47 | * @param string $crossorigin |
||
48 | * @return AssetImageInterface |
||
49 | */ |
||
50 | 1 | public function crossorigin(string $crossorigin = 'anonymous'): AssetImageInterface |
|
55 | } |
||
56 |