src/Behat/Behat/HelperContainer/Argument/ServicesResolver.php
private function resolveArgument($value)
    {
        if (is_string($value) && 0 === mb_strpos($value, '@')) {
            return $this->container->get(mb_substr($value, 1));
        }

        return $value;
    }
private function resolveArgument($value)
    {
        if (is_string($value) && 0 === mb_strpos($value, '@')) {
            return $this->container->get(mb_substr($value, 1));
        }

        return $value;
    }
private function resolveArgument ( $ value ) { if ( is_string ( $ value ) && 0 === mb_strpos ( $ value , '@' ) ) { return $ this -> container -> get ( mb_substr ( $ value , 1 ) ) ; } return $ value ; }
Attempts to resolve singular argument from container.

Convention is strings starting with `@` are considered services and
are expected to be present in the container.

@param mixed $value

@return mixed

@throws ContainerExceptionInterface
Attempts to resolve singular argument from container .