Skip to content
Browse files

changed comments

  • Loading branch information...
1 parent ee09bc4 commit 1a01770a598c421fa24de0775b06062dd866c566 @serdyuka serdyuka committed Apr 10, 2014
Showing with 10 additions and 5 deletions.
  1. +7 −5 Events/CacheResolveEvent.php
  2. +3 −0 Imagine/Cache/CacheManager.php
View
12 Events/CacheResolveEvent.php
@@ -3,11 +3,6 @@
use Symfony\Component\EventDispatcher\Event;
-/**
- * Default event class for PreResolve and PostResolve events
- *
- * @package Liip\ImagineBundle\Events
- */
class CacheResolveEvent extends Event
{
/**
@@ -28,6 +23,13 @@ class CacheResolveEvent extends Event
*/
protected $url;
+ /**
+ * Init default event state
+ *
+ * @param string $path
+ * @param string $filter
+ * @param null|string $url
+ */
public function __construct($path, $filter, $url = null)
{
$this->path = $path;
View
3 Imagine/Cache/CacheManager.php
@@ -35,6 +35,9 @@ class CacheManager
*/
protected $uriSigner;
+ /**
+ * @var \Symfony\Component\EventDispatcher\EventDispatcherInterface
+ */
protected $dispatcher;
/**

0 comments on commit 1a01770

Please sign in to comment.
Something went wrong with that request. Please try again.