Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 98a27984c34281244ac98258adb21e1068d0066a 1 parent fc874ea
@rdohms authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  Filter.php
  2. +1 −1  FilterInterface.php
View
2  Filter.php
@@ -31,7 +31,7 @@ public function __construct(Mapping\ClassMetadataFactory $metadataFactory)
/**
* {@inheritDoc}
*/
- public function filter($object)
+ public function filterEntity($object)
{
$this->walkObject($object);
}
View
2  FilterInterface.php
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.