Newscoop\Image\Thumbnail::__construct PHP Метод

__construct() публичный Метод

public __construct ( string $src, integer $width, integer $height )
$src string
$width integer
$height integer
    public function __construct($src, $width, $height)
    {
        $this->src = (string) $src;
        $this->width = (int) $width;
        $this->height = (int) $height;
    }