Пример #1
0
 public function testShouldStripImage()
 {
     $image = $this->getImage();
     $filter = new Strip();
     $image->expects($this->once())->method('strip')->will($this->returnValue($image));
     $this->assertSame($image, $filter->apply($image));
 }
Пример #2
0
 public function load(ImageInterface $image, array $options = array())
 {
     $filter = new Strip();
     $image = $filter->apply($image);
     return $image;
 }