protected function getMinifier(SplFileInfo $file, string $source): Minifier
    {
        $minifier = '\Gears\Asset\Minifiers\\';
        $minifier .= ucfirst($this->destination->getExtension());

        if (!class_exists($minifier))
        {
            throw new RuntimeException
            (
                'Minification is not supported for type: '.
                $this->destination->getExtension()
            );
        }

        return new $minifier($file, $source);
    }