コード例 #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
ファイル: AliasCleaner.php プロジェクト: emodric/LegacyBridge
 public function removeAliases($originalPath)
 {
     $this->innerAliasCleaner->removeAliases($this->urlRedecorator->redecorateFromTarget($originalPath));
 }