You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
57 lines
1.3 KiB
57 lines
1.3 KiB
<?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 Symfony\Component\DependencyInjection\ParameterBag; |
|
|
|
use Psr\Container\ContainerInterface; |
|
use Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; |
|
|
|
/** |
|
* ContainerBagInterface is the interface implemented by objects that manage service container parameters. |
|
* |
|
* @author Nicolas Grekas <p@tchwork.com> |
|
*/ |
|
interface ContainerBagInterface extends ContainerInterface |
|
{ |
|
/** |
|
* Gets the service container parameters. |
|
* |
|
* @return array |
|
*/ |
|
public function all(); |
|
|
|
/** |
|
* Replaces parameter placeholders (%name%) by their values. |
|
* |
|
* @param mixed $value A value |
|
* |
|
* @throws ParameterNotFoundException if a placeholder references a parameter that does not exist |
|
*/ |
|
public function resolveValue($value); |
|
|
|
/** |
|
* Escape parameter placeholders %. |
|
* |
|
* @param mixed $value |
|
* |
|
* @return mixed |
|
*/ |
|
public function escapeValue($value); |
|
|
|
/** |
|
* Unescape parameter placeholders %. |
|
* |
|
* @param mixed $value |
|
* |
|
* @return mixed |
|
*/ |
|
public function unescapeValue($value); |
|
}
|
|
|