for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* This file is part of the `liip/LiipImagineBundle` project.
*
* (c) https://github.com/liip/LiipImagineBundle/graphs/contributors
* For the full copyright and license information, please view the LICENSE.md
* file that was distributed with this source code.
*/
namespace Liip\ImagineBundle\File\Attributes\Guesser;
use Symfony\Component\HttpFoundation\File\MimeType\ExtensionGuesserInterface as BaseExtensionGuesserInterface;
/**
* @internal
* @author Rob Frawley 2nd <[email protected]>
final class ExtensionGuesser extends AbstractGuesser implements ExtensionGuesserInterface
{
* {@inheritdoc}
protected static function isSupportedGuesser($guesser): bool
return $guesser instanceof ExtensionGuesserInterface
|| $guesser instanceof BaseExtensionGuesserInterface;
}