eZ\Bundle\EzPublishCoreBundle\Imagine\AliasCleaner::removeAliases PHP Метод

removeAliases() публичный Метод

public removeAliases ( $originalPath )
    public function removeAliases($originalPath)
    {
        $this->aliasResolver->remove(array($originalPath), array());
    }

Usage Example

 public function testRemoveAliases()
 {
     $originalPath = 'foo/bar/test.jpg';
     $this->resolver->expects($this->once())->method('remove')->with(array($originalPath), array());
     $this->aliasCleaner->removeAliases($originalPath);
 }