public function supports($name, $subject, array $arguments) { return is_object($subject) && preg_match($this->regex, $name); }