container)->check($procedure); UserAuthorization::getInstance($this->container)->check($this->getClassName(), $procedure); } protected function filterValues(array $values) { foreach ($values as $key => $value) { if (is_null($value)) { unset($values[$key]); } } return $values; } protected function getClassName() { $reflection = new ReflectionClass(get_called_class()); return $reflection->getShortName(); } }