Removed Connection::__sleep.

This commit is contained in:
Qiang Xue
2013-05-29 20:12:24 -04:00
parent 9339edbd45
commit f05f85fcfe

View File

@ -251,15 +251,6 @@ class Connection extends Component
*/
private $_schema;
/**
* Closes the connection when this component is being serialized.
* @return array
*/
public function __sleep()
{
$this->close();
return array_keys(get_object_vars($this));
}
/**
* Returns a value indicating whether the DB connection is established.