```php

$preEvent = new CacheResolveEvent($path, $filter));
$this->dispatcher->dispatch(ImagineEvents::PRE_RESOLVE, $preEvent):
```