Decoded Output
Download<?php
declare(strict_types=1);
/*
* This file is a part of Sculpin.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sculpin\Bundle\SculpinBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* @author Beau Simensen <[email protected]>
*/
final class Configuration implements ConfigurationInterface
{
/**
* {@inheritdoc}
*/
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('sculpin');
$rootNode = $treeBuilder->getRootNode();
$rootNode
->children()
->scalarNode('source_dir')->defaultValue('%sculpin.project_dir%/source')->end()
->scalarNode('output_dir')->defaultValue('%sculpin.project_dir%/output_%kernel.environment%')->end()
->arrayNode('exclude')
->prototype('scalar')->end()
->end()
->arrayNode('ignore')
->prototype('scalar')->end()
->end()
->arrayNode('raw')
->prototype('scalar')->end()
->end()
->scalarNode('permalink')->defaultValue('pretty')->end()
->end();
return $treeBuilder;
}
}
?>
Did this file decode correctly?
How would you describe this file?
Thank you for your feedback! This will help us detect malicious PHP files more accurately in the future.
Function Calls
None
Variables
None
Stats
| MD5 | 8cc86e1a49c1cb2c |
|---|---|
| Eval Count | 0 |
| Decode Time | 90 ms |
Original Code
<?php
declare(strict_types=1);
/*
* This file is a part of Sculpin.
*
* (c) Dragonfly Development Inc.
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Sculpin\Bundle\SculpinBundle\DependencyInjection;
use Symfony\Component\Config\Definition\Builder\TreeBuilder;
use Symfony\Component\Config\Definition\ConfigurationInterface;
/**
* @author Beau Simensen <[email protected]>
*/
final class Configuration implements ConfigurationInterface
{
/**
* {@inheritdoc}
*/
public function getConfigTreeBuilder(): TreeBuilder
{
$treeBuilder = new TreeBuilder('sculpin');
$rootNode = $treeBuilder->getRootNode();
$rootNode
->children()
->scalarNode('source_dir')->defaultValue('%sculpin.project_dir%/source')->end()
->scalarNode('output_dir')->defaultValue('%sculpin.project_dir%/output_%kernel.environment%')->end()
->arrayNode('exclude')
->prototype('scalar')->end()
->end()
->arrayNode('ignore')
->prototype('scalar')->end()
->end()
->arrayNode('raw')
->prototype('scalar')->end()
->end()
->scalarNode('permalink')->defaultValue('pretty')->end()
->end();
return $treeBuilder;
}
}