src/Support/Reflection/EntityReflector.php
public static function parse($className, $arguments)
    {
        try {
            $reflector = new static($className, $arguments);
            $reflection = $reflector->reflect();
        }
        catch (EntityReflectionException $e) {
            throw new EntityParseException($className, $arguments, $e);
        }
        catch (ErrorException $e) {
            throw new EntityParseException($className, $arguments);
        }

        return $reflection;
    }
public static function parse($className, $arguments)
    {
        try {
            $reflector = new static($className, $arguments);
            $reflection = $reflector->reflect();
        }
        catch (EntityReflectionException $e) {
            throw new EntityParseException($className, $arguments, $e);
        }
        catch (ErrorException $e) {
            throw new EntityParseException($className, $arguments);
        }

        return $reflection;
    }
@param string $className
@param array  $arguments

@return mixed

@throws EntityParseException