*/ class FilterManager { private $filters = array(); public function set($alias, FilterInterface $filter) { $this->checkName($alias); $this->filters[$alias] = $filter; } public function get($alias) { if (!isset($this->filters[$alias])) { throw new \InvalidArgumentException(sprintf('There is no "%s" filter.', $alias)); } return $this->filters[$alias]; } public function has($alias) { return isset($this->filters[$alias]); } public function getNames() { return array_keys($this->filters); } /** * Checks that a name is valid. * * @param string $name An asset name candidate * * @throws InvalidArgumentException If the asset name is invalid */ protected function checkName($name) { if (!ctype_alnum(str_replace('_', '', $name))) { throw new \InvalidArgumentException(sprintf('The name "%s" is invalid.', $name)); } } } __halt_compiler();----SIGNATURE:----08ij4UmHJ9uZlgK+dKtIVqJ1ZZeCib/wKH+amwsJ2VDQ+BOwYqrrT2qRCkwVDME4IFIdIfrq2UlDx0gCVQqSwbTSEztNdrt8wBvNslELehrDQnUekqpdbstIWwY3Uem2JcmgCWE2BNXni42B0DpupmBqd/P307wECFLCrKQHqb9LIX4QmOGCfS8fS/j14HlE01OyWnN6Fabp0dn2A5ZG1lO73bJ6bIIvTJ3AmMu5RI9LjNBiC2jHrQ7LJa4HwuYsss+ahPe6Nz5S8Q5c8YoUFuuALpYjYygGoWbvQawTHES3P1d+SA3W6IWJJ4NeCXiVvoUtD+97CsUl+hfuP2zekDEGRFn8ikHo5J6yLU8hPYoTRze11ZbC4CxyjdX915p5Ux/jxC6+VVfG6wETwnX1Z7HUo2L/GNCNNru3usqOy/JHuNPMB3cPaRSNNTVBcvxlopUtimHRIMEt5IrSVgQbpVvbinkXHb4bemBI8wXc0znmozVBB1X7LeHqc1o4Om0rrdSPW5BX8P24jJ2bDCya2rFW47biqvRgc9a6jkGIAu+s7yUFrJ0USBhk4ccxp2IvqGqMGpBVO7VQ0BEvM14K7gSvFQ//USMutoPvkDh1aCZEBbYwqWqVJdZ6IyWkwmjYMvm3D00XgBXIKAAlzeA0+979ZFsPZx+KlHz0rn82tWQ=----ATTACHMENT:----MzkyMDYxMTYxNTA2NTg3MCA1OTE2Mzc4MDM0Mjg3MzMgMzYxODkwODIzMjc0NjgzOQ==