Exemplo n.º 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);
 }
Exemplo n.º 2
0
 public function removeAliases($originalPath)
 {
     $this->innerAliasCleaner->removeAliases($this->ioService->loadBinaryFileByUri($this->urlRedecorator->redecorateFromTarget($originalPath)));
 }
Exemplo n.º 3
0
 public function removeAliases($originalPath)
 {
     $this->innerAliasCleaner->removeAliases($this->urlRedecorator->redecorateFromTarget($originalPath));
 }