1 | <?php |
||
36 | class VendorDir implements VendorDirConfigurationInterface |
||
37 | { |
||
38 | |||
39 | /** |
||
40 | * The path to the additional vendor directory. |
||
41 | * |
||
42 | * @var string |
||
43 | * @Type("string") |
||
44 | * @SerializedName("vendor-dir") |
||
45 | */ |
||
46 | protected $vendorDir; |
||
47 | |||
48 | /** |
||
49 | * The array with the paths to the extension libraries. |
||
50 | * |
||
51 | * @var array |
||
52 | * @Type("array") |
||
53 | */ |
||
54 | protected $libraries = array(); |
||
55 | |||
56 | /** |
||
57 | * Whether or the vendor directory is relative to the installation directory. |
||
58 | * |
||
59 | * @var boolean |
||
60 | * @Type("boolean") |
||
61 | */ |
||
62 | protected $relative = true; |
||
63 | |||
64 | /** |
||
65 | * Return's the path to the additional vendor directory. |
||
66 | * |
||
67 | * @return string The path to the additional vendor directory |
||
68 | */ |
||
69 | public function getVendorDir() |
||
73 | |||
74 | /** |
||
75 | * Return's an array with the path to additional extension libraries. |
||
76 | * |
||
77 | * @return array The paths to additional extension libraries |
||
78 | */ |
||
79 | public function getLibraries() |
||
83 | |||
84 | /** |
||
85 | * Query's whether or not the vendor directory is relative to the installation directory. |
||
86 | * |
||
87 | * @return boolean TRUE if the vendor dir is relative to the installation directory, else FALSE |
||
88 | */ |
||
89 | public function isRelative() |
||
93 | } |
||
94 |