Skip to content
This repository has been archived by the owner on Jan 30, 2020. It is now read-only.

Commit

Permalink
Removed ZF2-512 changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Juha Suni committed Sep 3, 2012
1 parent f0699c2 commit fe88f0e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/FilterChain.php
Expand Up @@ -224,18 +224,4 @@ public function filter($value)

return $valueFiltered;
}

/**
* Prepare filter chain for serialization
*
* FilterPluginManager cannot be serialized, as it contains Traits. For
* this reason property 'plugins' is excluded and thus serialized
* filter chain is not necessarily equal to current chain.
*
* @return array
*/
public function __sleep()
{
return array('filters');
}
}

0 comments on commit fe88f0e

Please sign in to comment.