1 | <?php |
||
33 | class RackspaceFactory |
||
34 | { |
||
35 | const US_ENDPOINT = 'US'; |
||
36 | const UK_ENDPOINT = 'UK'; |
||
37 | |||
38 | const REGION_DFW = 'DFW'; |
||
39 | const REGION_IAD = 'IAD'; |
||
40 | const REGION_ORD = 'ORD'; |
||
41 | const REGION_LON = 'LON'; |
||
42 | const REGION_SYD = 'SYD'; |
||
43 | |||
44 | const URL_PUBLIC = 'public'; |
||
45 | const URL_INTERNAL = 'internal'; |
||
46 | |||
47 | /** |
||
48 | * @param Utils\ArrayHash $parameters |
||
49 | * |
||
50 | * @return Rackspace\RackspaceAdapter |
||
51 | */ |
||
52 | public static function create(Utils\ArrayHash $parameters) |
||
68 | |||
69 | /** |
||
70 | * @return array |
||
71 | */ |
||
72 | private static function getEndpoints() |
||
79 | |||
80 | /** |
||
81 | * @return array |
||
82 | */ |
||
83 | private static function getRegions() |
||
93 | |||
94 | /** |
||
95 | * @return array |
||
96 | */ |
||
97 | private static function getUrls() |
||
104 | } |
||
105 |