| 1 | <?php | ||
| 17 | trait FilterTrait | ||
| 18 | { | ||
| 19 | /** | ||
| 20 | * @var CacheManager | ||
| 21 | */ | ||
| 22 | private $cache; | ||
| 23 | |||
| 24 | public function __construct(CacheManager $cache) | ||
| 28 | |||
| 29 | /** | ||
| 30 | * Gets the browser path for the image and filter to apply. | ||
| 31 | */ | ||
| 32 | public function filter( | ||
| 43 | |||
| 44 | /** | ||
| 45 | * Gets the cache path for the image and filter to apply. | ||
| 46 | */ | ||
| 47 | public function filterCache( | ||
| 61 | |||
| 62 | /** | ||
| 63 |      * {@inheritdoc} | ||
| 64 | */ | ||
| 65 | public function getName(): string | ||
| 69 | } | ||
| 70 |