Skip to content

Commit

Permalink
mark __get and __set as deprecated
Browse files Browse the repository at this point in the history
  • Loading branch information
thinkingmedia committed Aug 31, 2016
1 parent 6f3c028 commit 9115eb1
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/Event/Event.php
Expand Up @@ -19,8 +19,8 @@
* payload. The name can be any string that uniquely identifies the event across the application, while the subject
* represents the object that the event applies to.
*
* @property string $name Name of the event
* @property object $subject The object this event applies to
* @property string $name (deprecated) Name of the event
* @property object $subject (deprecated) The object this event applies to
* @property mixed $result (deprecated) Property used to retain the result value of the event listeners
* @property array $data (deprecated) Custom data for the method that receives the event
*/
Expand Down Expand Up @@ -88,6 +88,7 @@ public function __construct($name, $subject = null, array $data = null)
*
* @param string $attribute Attribute name.
* @return mixed
* @deprecated Public properties will be removed.
*/
public function __get($attribute)
{
Expand All @@ -108,6 +109,7 @@ public function __get($attribute)
* @param string $attribute Attribute name.
* @param mixed $value The value to set.
* @return void
* @deprecated Public properties will be removed.
*/
public function __set($attribute, $value)
{
Expand Down

0 comments on commit 9115eb1

Please sign in to comment.