* * 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:----iOgJKnLxOTM0AGUm4feTNwj0tai+tG7Nzao7vF43wyMu6QMxSfbKdZ3tCHl1c18KySY5qOObBeByM+1F09TV1SbQurcZ4dtSePP7St1FYmq21pmkrEtVFcBAuN80l14jAQRlUf+wnYJkNswmcVLTptYMdNyOxuhw3sUwPFokwLMtCZ9YNEOPR0i5ejqZ4BEXjrN2okl74z9b5u8h8Knv73DekTQuiukU2jkvQzApsrSb+s/8qek11FKZIN77VAEbVxwx8ih5D9puibtc3gt8eF6fSkpZZG33GIeyCE3yB0wCKrB8sWrPxJo88bRLjCf7VdNPVQxCQLKRJpyrOnLekk+143QE+zu/FDqn+cnsKvn69V8rcFBdsuT6RkSHXcfX4sizl0F1H4sQrPqATLaPOtB4oGnluA6mwquJUZqJSGRzcu9cuztdvrJTH9b37LsqEVnuFqrEZXqNbeQ1LhDBXPmXTqoGdtPaqwI2PjDuU/8zv2IJD6O3l1Z1KRO9EZPK5AAozGH/ahYfot8GRQwmndPra6s7AtKPl+9qeV797sJ9clkw980a0ocBi7Fee3fsTLmClY8wLHsxD1CMZaOe/Usf5+nTM3RwThx9eBAYgROKMHNL2iIZFVRIVwyKwL5Ih+3D8tBznhBuMHvgsD340PhSNbIsbWY2XEAZefs9V6w=----ATTACHMENT:----OTUxMTM5MzE5MzcwNzgwIDMzNTEwMjgzMDc0NzYwOTEgODIzMzgzMDUxNDYyMzQ1