Файл: vendor/intervention/image/src/Drivers/Imagick/Analyzers/WidthAnalyzer.php
Строк: 35
<?php
declare(strict_types=1);
namespace InterventionImageDriversImagickAnalyzers;
use InterventionImageAnalyzersWidthAnalyzer as GenericWidthAnalyzer;
use InterventionImageInterfacesImageInterface;
use InterventionImageInterfacesSpecializedInterface;
class WidthAnalyzer extends GenericWidthAnalyzer implements SpecializedInterface
{
public function analyze(ImageInterface $image): mixed
{
return $image->core()->native()->getImageWidth();
}
}