public function supports($name, $subject, array $arguments) { return 'endWith' === $name && is_string($subject) && 1 == count($arguments); }