init without trunk
This commit is contained in:
parent
ed24ac4994
commit
bb809e7233
14652 changed files with 177862 additions and 94817 deletions
35
vendor/doctrine/doctrine-cache-bundle/DependencyInjection/Definition/PhpFileDefinition.php
vendored
Normal file
35
vendor/doctrine/doctrine-cache-bundle/DependencyInjection/Definition/PhpFileDefinition.php
vendored
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the Symfony package.
|
||||
*
|
||||
* (c) Fabien Potencier <fabien@symfony.com>
|
||||
*
|
||||
* For the full copyright and license information, please view the LICENSE
|
||||
* file that was distributed with this source code.
|
||||
*/
|
||||
|
||||
namespace Doctrine\Bundle\DoctrineCacheBundle\DependencyInjection\Definition;
|
||||
|
||||
use Symfony\Component\DependencyInjection\ContainerBuilder;
|
||||
use Symfony\Component\DependencyInjection\Definition;
|
||||
|
||||
/**
|
||||
* PhpFile definition.
|
||||
*
|
||||
* @author Fabio B. Silva <fabio.bat.silva@gmail.com>
|
||||
*/
|
||||
class PhpFileDefinition extends CacheDefinition
|
||||
{
|
||||
/**
|
||||
* {@inheritDoc}
|
||||
*/
|
||||
public function configure($name, array $config, Definition $service, ContainerBuilder $container)
|
||||
{
|
||||
$service->setArguments(array(
|
||||
$config['php_file']['directory'],
|
||||
$config['php_file']['extension'],
|
||||
$config['php_file']['umask']
|
||||
));
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue