| 1 | <?php |
||
| 8 | class ImagineHelper extends Helper |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var CacheManager |
||
| 12 | */ |
||
| 13 | protected $cacheManager; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param CacheManager $cacheManager |
||
| 17 | */ |
||
| 18 | public function __construct(CacheManager $cacheManager) |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Gets the browser path for the image and filter to apply. |
||
| 25 | * |
||
| 26 | * @param string $path |
||
| 27 | * @param string $filter |
||
| 28 | * @param array $runtimeConfig |
||
| 29 | * |
||
| 30 | * @return string |
||
| 31 | */ |
||
| 32 | public function filter($path, $filter, array $runtimeConfig = array()) |
||
| 36 | |||
| 37 | /** |
||
| 38 | * {@inheritdoc} |
||
| 39 | */ |
||
| 40 | public function getName() |
||
| 44 | } |
||
| 45 |