* * 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 Symfony\Component\DependencyInjection\Exception\LogicException; use Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; /** * ParameterBagInterface. * * @author Fabien Potencier */ interface ParameterBagInterface { /** * Clears all parameters. * * @throws LogicException if the ParameterBagInterface can not be cleared */ public function clear(); /** * Adds parameters to the service container parameters. * * @param array $parameters An array of parameters * * @throws LogicException if the parameter can not be added */ public function add(array $parameters); /** * Gets the service container parameters. * * @return array An array of parameters */ public function all(); /** * Gets a service container parameter. * * @param string $name The parameter name * * @return mixed The parameter value * * @throws ParameterNotFoundException if the parameter is not defined */ public function get($name); /** * Removes a parameter. * * @param string $name The parameter name */ public function remove($name); /** * Sets a service container parameter. * * @param string $name The parameter name * @param mixed $value The parameter value * * @throws LogicException if the parameter can not be set */ public function set($name, $value); /** * Returns true if a parameter name is defined. * * @param string $name The parameter name * * @return bool true if the parameter name is defined, false otherwise */ public function has($name); /** * Replaces parameter placeholders (%name%) by their values for all parameters. */ public function resolve(); /** * 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); } __halt_compiler();----SIGNATURE:----ucos+gLUk085PKIQor1B17E1ydSCP/eiRzDPUrseSYIsrbjOn57GV18gIZkW11Zev/DBvzm9yVYgcuKOSp45F6ThRj9Tv5NkkxbmdNWhx6SQ547/OnliypcuLydNh1QCPFstzxw82y6CaqBLX+CfpieA+2ILEA+dg0WSgEYKEEYylC/H5n3ckQP82AN5Fedd1uiQafM0NidMln5S1zWZ6Lz1Mb+JWnccfmn2QQuAjO7aQUSGsEUctKbqmzj97lrLUAGpx9xPfkXyfYTxQBeizBVyZysWyQ17OMp/toZ7oe7urzr4Ce7Bq2noYsqYiYyV5XXJxh3uWX/8/MtoqY1Wp5qLcxlw45MjCsiKLtSpMYvKcfNKHjhFDN0URGcmu7AXIk8s7dl5ogljbej/4ZMsf6r36Z11hpvPC3SGj1XRicZm+CwcuU6GlkLBKm8Sqyk1DB/ikBQ2IVSDmaDwguBViQuQkAE9Vu3wNahDFWketgmbhABv+7L0qPZS2JURd14IdPC8N4PK9vq1Zq09RAADupcEMABAM64WBmSa2sM3xOiO29tl6LifUbxEhmsog38EJHgDUeehe0ulFewJNtb8g6DIjm/oh5bJKXMnZLqn0LYq1Q3UpwsUEMb24KaqovaFCR87N3+U6Z9y2JnXOce+buYikkR7fnauYU0zmaALj5E=----ATTACHMENT:----OTE0MjU2MzgyODg1ODc4MSA5MzU0MjQ2NzAzNDYyOTY0IDY0NTA3ODM1NjAwNTE0Nw==