create() public method

Get a new image.
public create ( string $w, string $h ) : Gregwar\ImageBundle\ImageHandler
$w string the width
$h string the height
return Gregwar\ImageBundle\ImageHandler a manipulable image instance
Ejemplo n.º 1
0
 /**
  * @param string $width
  * @param string $height
  *
  * @return object
  */
 public function newImage($width, $height)
 {
     return $this->imageHandling->create($width, $height);
 }