Jarves\AssetHandler\Container::getCompileHandlerByContentType PHP Method

getCompileHandlerByContentType() public method

public getCompileHandlerByContentType ( string $type ) : Jarves\AssetHandler\CompileHandlerInterface
$type string
return Jarves\AssetHandler\CompileHandlerInterface
    public function getCompileHandlerByContentType($type)
    {
        if (isset($this->handlerByType[strtolower($type)])) {
            return $this->container->get($this->handlerByType[strtolower($type)]);
        }
    }