1 | <?php |
||
20 | class DirectiveConfig extends AbstractConfig |
||
21 | { |
||
22 | |||
23 | use ArgumentsAwareConfigTrait; |
||
24 | |||
25 | protected $locations = []; |
||
26 | |||
27 | public function getRules() |
||
28 | { |
||
29 | return [ |
||
30 | 'name' => ['type' => TypeService::TYPE_STRING, 'final' => true], |
||
31 | 'description' => ['type' => TypeService::TYPE_STRING], |
||
32 | 'args' => ['type' => TypeService::TYPE_ARRAY], |
||
33 | 'locations' => ['type' => TypeService::TYPE_ARRAY], |
||
34 | ]; |
||
35 | } |
||
36 | |||
37 | 1 | public function getLocations() |
|
41 | |||
42 | 3 | public function build() |
|
52 | |||
53 | } |
||
54 |