The interface is: "public function extract($object);" should be the same here, not $value.