1 | 2 | simandl | <?php |
2 | | | |
3 | | | namespace Phem\Environment; |
4 | | | |
5 | | | use Phem\Core\Object; |
6 | | | |
7 | | | /** |
8 | | | * @author Jakub PetrĹžĂlka <petrzilka@czweb.net> |
9 | | | */ |
10 | | | class Resource extends Object |
11 | | | { |
12 | | | private $name; |
13 | | | private $path; |
14 | | | |
15 | | | /** |
16 | | | * |
17 | | | * @var ResourceType |
18 | | | */ |
19 | | | private $type; |
20 | | | |
21 | | | private $recursiveLoad; |
22 | | | private $priority; |
23 | | | |
24 | | | public function getName() |
25 | | | { |
26 | | | return $this->name; |
27 | | | } |
28 | | | |
29 | | | public function getPath() |
30 | | | { |
31 | | | return $this->path; |
32 | | | } |
33 | | | |
34 | | | public function getType() |
35 | | | { |
36 | | | return $this->type; |
37 | | | } |
38 | | | |
39 | | | public function getRecursiveLoad() |
40 | | | { |
41 | | | return $this->recursiveLoad; |
42 | | | } |
43 | | | |
44 | | | public function getPriority() |
45 | | | { |
46 | | | return $this->priority; |
47 | | | } |
48 | | | |
49 | | | public function setName($name) |
50 | | | { |
51 | | | $this->name = $name; |
52 | | | } |
53 | | | |
54 | | | public function setPath($path) |
55 | | | { |
56 | | | $this->path = $path; |
57 | | | } |
58 | | | |
59 | | | public function setType($type) |
60 | | | { |
61 | | | $this->type = $type; |
62 | | | } |
63 | | | |
64 | | | public function setRecursiveLoad($recursiveLoad) |
65 | | | { |
66 | | | $this->recursiveLoad = $recursiveLoad; |
67 | | | } |
68 | | | |
69 | | | public function setPriority($priority) |
70 | | | { |
71 | | | $this->priority = $priority; |
72 | | | } |
73 | | | |
74 | | | |
75 | | | } |