예제 #1
0
 public function testRemoveAliases()
 {
     $originalPath = 'foo/bar/test.jpg';
     $this->urlRedecorator->expects($this->once())->method('redecorateFromTarget')->with($originalPath);
     $this->innerAliasCleaner->expects($this->once())->method('removeAliases');
     $this->aliasCleaner->removeAliases($originalPath);
 }
예제 #2
0
 public function removeAliases($originalPath)
 {
     $this->innerAliasCleaner->removeAliases($this->ioService->loadBinaryFileByUri($this->urlRedecorator->redecorateFromTarget($originalPath)));
 }
예제 #3
0
 public function removeAliases($originalPath)
 {
     $this->innerAliasCleaner->removeAliases($this->urlRedecorator->redecorateFromTarget($originalPath));
 }