-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCSSResource.php
More file actions
executable file
·28 lines (26 loc) · 913 Bytes
/
CSSResource.php
File metadata and controls
executable file
·28 lines (26 loc) · 913 Bytes
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
<?php
namespace TestPlugin {
/**
* A class used to represent a CSS file/resource.
* */
class CSSResource {
public $handle = "";
public $version = "";
public $localURL = "";
public $externalURL = "";
public $integrityMetadata = "";
public $dependencies = [];
public $media = "all";
public $extraAttributes = [];
public function __construct($handle="",$localURL="",$dependencies=[],$ver="",$extURL="",$integrity="",$attrs=[], $media="all") {
$this->handle = $handle;
$this->localURL = $localURL;
$this->dependencies = $dependencies;
$this->version = $ver;
$this->externalURL = $extURL;
$this->integrityMetadata = $integrity;
$this->extraAttributes = $attrs;
$this->media = $media;
}
}
}