1 | <?php |
||
9 | class ControllerSpecificationGenerator extends PromptingGenerator implements GeneratorInterface |
||
10 | { |
||
11 | /** |
||
12 | * @param ResourceInterface $resource |
||
13 | * @param string $generation |
||
14 | * @param array $data |
||
15 | * @return bool |
||
16 | */ |
||
17 | public function supports(ResourceInterface $resource, $generation, array $data) |
||
21 | |||
22 | public function getPriority() |
||
26 | |||
27 | /** |
||
28 | * @param ResourceInterface $resource |
||
29 | * |
||
30 | * @return string |
||
31 | */ |
||
32 | protected function getFilePath(ResourceInterface $resource) |
||
36 | |||
37 | /** |
||
38 | * @param ResourceInterface $resource |
||
39 | * @param string $filepath |
||
40 | * |
||
41 | * @return string |
||
42 | */ |
||
43 | protected function renderTemplate(ResourceInterface $resource, $filepath) |
||
60 | |||
61 | /** |
||
62 | * @param ResourceInterface $resource |
||
63 | * @param string $filepath |
||
64 | * |
||
65 | * @return string |
||
66 | */ |
||
67 | protected function getGeneratedMessage(ResourceInterface $resource, $filepath) |
||
75 | } |
||
76 |