Permalink
Browse files

Renaming `filter` method to `filterEntity` to avoind PHP's legacy con…

…structor with same name as class.

Warning this is a BC, please adjust local code.
  • Loading branch information...
1 parent fc874ea commit 98a27984c34281244ac98258adb21e1068d0066a @rdohms committed Feb 2, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 Filter.php
  2. +1 −1 FilterInterface.php
View
@@ -31,7 +31,7 @@ public function __construct(Mapping\ClassMetadataFactory $metadataFactory)
/**
* {@inheritDoc}
*/
- public function filter($object)
+ public function filterEntity($object)
{
$this->walkObject($object);
}
View
@@ -16,7 +16,7 @@
*
* @param mixed $object
*/
- public function filter($object);
+ public function filterEntity($object);
/**
* Filters a specific property in an object, replacing the current value

0 comments on commit 98a2798

Please sign in to comment.