@@ 11-31 (lines=21) @@ | ||
8 | * Class ViewCasesRequestConfiguration |
|
9 | * @package OmnideskBundle\Configuration\Cases |
|
10 | */ |
|
11 | class ViewCasesRequestConfiguration implements ConfigurationInterface |
|
12 | { |
|
13 | /** |
|
14 | * @return TreeBuilder |
|
15 | */ |
|
16 | public function getConfigTreeBuilder() |
|
17 | { |
|
18 | $treeBuilder = new TreeBuilder(); |
|
19 | ||
20 | $rootNode = $treeBuilder->root('params'); |
|
21 | ||
22 | $rootNode |
|
23 | ->children() |
|
24 | ->integerNode('case_id') |
|
25 | ->isRequired() |
|
26 | ->end() |
|
27 | ->end(); |
|
28 | ||
29 | return $treeBuilder; |
|
30 | } |
|
31 | } |
|
32 |
@@ 11-32 (lines=22) @@ | ||
8 | * Class ViewGroupRequestConfiguration |
|
9 | * @package OmnideskBundle\Configuration\Group |
|
10 | */ |
|
11 | class ViewGroupRequestConfiguration implements ConfigurationInterface |
|
12 | { |
|
13 | /** |
|
14 | * @return TreeBuilder |
|
15 | */ |
|
16 | public function getConfigTreeBuilder() |
|
17 | { |
|
18 | $treeBuilder = new TreeBuilder(); |
|
19 | ||
20 | $rootNode = $treeBuilder->root('params'); |
|
21 | ||
22 | $rootNode |
|
23 | ->children() |
|
24 | ->scalarNode('group_id') |
|
25 | ->isRequired() |
|
26 | ->end() |
|
27 | ->end(); |
|
28 | ||
29 | ||
30 | return $treeBuilder; |
|
31 | } |
|
32 | } |
|
33 |
@@ 11-31 (lines=21) @@ | ||
8 | * Class ViewStaffRequestConfiguration |
|
9 | * @package OmnideskBundle\Configuration\Staff |
|
10 | */ |
|
11 | class ViewStaffRequestConfiguration implements ConfigurationInterface |
|
12 | { |
|
13 | /** |
|
14 | * @return TreeBuilder |
|
15 | */ |
|
16 | public function getConfigTreeBuilder() |
|
17 | { |
|
18 | $treeBuilder = new TreeBuilder(); |
|
19 | ||
20 | $rootNode = $treeBuilder->root('params'); |
|
21 | ||
22 | $rootNode |
|
23 | ->children() |
|
24 | ->integerNode('staff_id') |
|
25 | ->isRequired() |
|
26 | ->end() |
|
27 | ->end(); |
|
28 | ||
29 | return $treeBuilder; |
|
30 | } |
|
31 | } |
|
32 |
@@ 11-31 (lines=21) @@ | ||
8 | * Class ViewUserRequestConfiguration |
|
9 | * @package OmnideskBundle\Configuration\User |
|
10 | */ |
|
11 | class ViewUserRequestConfiguration implements ConfigurationInterface |
|
12 | { |
|
13 | /** |
|
14 | * @return TreeBuilder |
|
15 | */ |
|
16 | public function getConfigTreeBuilder() |
|
17 | { |
|
18 | $treeBuilder = new TreeBuilder(); |
|
19 | ||
20 | $rootNode = $treeBuilder->root('params'); |
|
21 | ||
22 | $rootNode |
|
23 | ->children() |
|
24 | ->integerNode('user_id') |
|
25 | ->isRequired() |
|
26 | ->end() |
|
27 | ->end(); |
|
28 | ||
29 | return $treeBuilder; |
|
30 | } |
|
31 | } |
|
32 |