Файл: vendor/intervention/image/src/Drivers/Gd/Analyzers/ResolutionAnalyzer.php
Строк: 50
<?php
declare(strict_types=1);
namespace InterventionImageDriversGdAnalyzers;
use InterventionImageAnalyzersResolutionAnalyzer as GenericResolutionAnalyzer;
use InterventionImageInterfacesImageInterface;
use InterventionImageInterfacesSpecializedInterface;
use InterventionImageResolution;
class ResolutionAnalyzer extends GenericResolutionAnalyzer implements SpecializedInterface
{
/**
* {@inheritdoc}
*
* @see AnalyzerInterface::analyze()
*/
public function analyze(ImageInterface $image): mixed
{
return new Resolution(...imageresolution($image->core()->native()));
}
}