public function __sleep() { // We don't need the whole matcher map and the matcher builder once serialized. // config property is not needed either as it's only needed for matching. return array('subMatchers'); }