public function containsArgumentsPattern(array $arguments, string $name) : bool
    {
        foreach ($arguments as $key => $argument) {
            if (is_string($argument) && '@'.$name === $argument) {
                return true;
            }
        }

        return false;
    }
public function containsArgumentsPattern(array $arguments, string $name) : bool
    {
        foreach ($arguments as $key => $argument) {
            if (is_string($argument) && '@'.$name === $argument) {
                return true;
            }
        }

        return false;
    }
@param array  $arguments
@param string $name

@return bool