public fitIn ( $width, $height ) |
public function fitIn($width, $height)
{
$this->resize = "fit-in/{$width}x{$height}";
}
public function testFitIn() { $commandSet = new CommandSet(); $commandSet->fitIn(5, 6); $this->assertEquals(array('fit-in/5x6'), $commandSet->toArray()); }