0 follower

Final Class Yiisoft\Validator\Rule\Image\ImageInfo

InheritanceYiisoft\Validator\Rule\Image\ImageInfo

Method Details

Hide inherited methods

__construct() public method

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

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

            
getHeight() public method

public integer getHeight ( )

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

            
getWidth() public method

public integer getWidth ( )

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