0 follower

Final Class Yiisoft\Validator\Rule\Image\ImageInfo

InheritanceYiisoft\Validator\Rule\Image\ImageInfo

Method Details

Hide inherited methods

__construct() public method

public __construct( integer $width, integer $height ): mixed
$width integer
$height integer

                public function __construct(
    private readonly int $width,
    private readonly int $height,
) {}

            
getHeight() public method

public getHeight( ): integer

                public function getHeight(): int
{
    return $this->height;
}

            
getWidth() public method

public getWidth( ): integer

                public function getWidth(): int
{
    return $this->width;
}