src/Incoming/Processor.php
protected function getBuilderForType(string $type): Builder
    {
        if (null === $this->builder_factory) {
            throw UnresolvableBuilderException::forType($type);
        }

        return $this->builder_factory->buildForType($type);
    }
protected function getBuilderForType(string $type): Builder
    {
        if (null === $this->builder_factory) {
            throw UnresolvableBuilderException::forType($type);
        }

        return $this->builder_factory->buildForType($type);
    }
protected function getBuilderForType ( string $ type ) : Builder { if ( null === $ this -> builder_factory ) { throw UnresolvableBuilderException :: forType ( $ type ) ; } return $ this -> builder_factory -> buildForType ( $ type ) ; }
Get a Builder for a given model.

@param string $type The type to get a builder for.
@throws UnresolvableBuilderException If a builder can't be resolved for
the given model.
@return Builder The resulting builder.
Get a Builder for a given model .