FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
DarkDissectBundle/DependencyInjection/Configuration.php at master · cursedcoder/DarkDissectBundle · GitHub
cursedcoder
/
DarkDissectBundle
Public
Notifications
You must be signed in to change notification settings
Fork
2
Star
4
Code
Issues
0
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
DarkDissectBundle
/
DependencyInjection
/
Configuration.php
Copy path
More file actions
More file actions
Latest commit
History
History
History
29 lines (24 loc) · 730 Bytes
Breadcrumbs
DarkDissectBundle
/
DependencyInjection
/
Configuration.php
Copy path
File metadata and controls
29 lines (24 loc) · 730 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
namespace
Dark
\
DissectBundle
\
DependencyInjection
;
use
Symfony
\
Component
\
Config
\
Definition
\
Builder
\
TreeBuilder
;
use
Symfony
\
Component
\
Config
\
Definition
\
ConfigurationInterface
;
/**
* Bundle's configuration
*
* @author Evgeniy Guseletov <d46k16@gmail.com>
*/
class
Configuration
implements
ConfigurationInterface
{
public
function
getConfigTreeBuilder
()
{
$
treeBuilder
=
new
TreeBuilder
();
$
rootNode
=
$
treeBuilder
->
root
(
'
dark_dissect
'
);
$
rootNode
->
prototype
(
'
array
'
)
->
children
()
->
scalarNode
(
'
path
'
)->
isRequired
()->
end
()
->
scalarNode
(
'
cache
'
)->
defaultTrue
()->
end
()
->
end
();
return
$
treeBuilder
;
}
}
Back
|
FazBrowse Home
|
New Git URL