eZ\Bundle\EzPublishCoreBundle\Imagine\IORepositoryResolver::getFilePath PHP Method

getFilePath() public method

Returns path for filtered image from original path, using the VariationPathGenerator.
public getFilePath ( string $path, string $filter ) : string
$path string
$filter string
return string
    public function getFilePath($path, $filter)
    {
        return $this->variationPathGenerator->getVariationPath($path, $filter);
    }

Usage Example

コード例 #1
0
 /**
  * @dataProvider getFilePathProvider
  */
 public function testGetFilePath($path, $filter, $expected)
 {
     $this->assertSame($expected, $this->imageResolver->getFilePath($path, $filter));
 }
All Usage Examples Of eZ\Bundle\EzPublishCoreBundle\Imagine\IORepositoryResolver::getFilePath