Contao\GdImage::__construct PHP Method

__construct() public method

Create a new object to handle a GD image
public __construct ( resource $gdResource )
$gdResource resource The GD resource handle
    public function __construct($gdResource)
    {
        $this->setResource($gdResource);
    }