Browse Source

Add the class property.

Mark Scherer 10 years ago
parent
commit
d541a32dac
1 changed files with 7 additions and 0 deletions
  1. 7 0
      src/Controller/Component.php

+ 7 - 0
src/Controller/Component.php

@@ -70,6 +70,13 @@ class Component implements EventListenerInterface
     public $request;
 
     /**
+     * Response object
+     *
+     * @var \Cake\Network\Response
+     */
+    public $response;
+
+    /**
      * Component registry class used to lazy load components.
      *
      * @var \Cake\Controller\ComponentRegistry