1 | <?php |
||
36 | class ControllerLocator extends AbstractResourceLocator implements ResourceLocatorInterface |
||
37 | { |
||
38 | /** |
||
39 | * @param string $classname |
||
40 | * @return bool |
||
41 | */ |
||
42 | public function supportsClass($classname) |
||
46 | |||
47 | /** |
||
48 | * @return int |
||
49 | */ |
||
50 | public function getPriority() |
||
54 | |||
55 | /** |
||
56 | * @param string $file |
||
57 | * @return bool |
||
58 | */ |
||
59 | protected function isSupported($file) |
||
63 | |||
64 | /** |
||
65 | * @param array $parts |
||
66 | * @param ResourceLocatorInterface $locator |
||
67 | * @return ControllerResource |
||
68 | * @throws \InvalidArgumentException |
||
69 | */ |
||
70 | protected function getResource(array $parts, ResourceLocatorInterface $locator) |
||
77 | |||
78 | /** |
||
79 | * @param array $matches |
||
80 | * @return string |
||
81 | */ |
||
82 | protected function getObjectName(array $matches) |
||
86 | |||
87 | /** |
||
88 | * @param string $path |
||
89 | * @return string |
||
90 | */ |
||
91 | protected function getRelative($path) |
||
100 | |||
101 | /** |
||
102 | * @return string |
||
103 | */ |
||
104 | protected function getClassType() |
||
108 | |||
109 | /** |
||
110 | * @return string |
||
111 | */ |
||
112 | protected function getValidator() |
||
116 | } |
||
117 |