__sleep() public method

public __sleep ( ) : array
return array
 /**
  * @return array
  */
 public function __sleep()
 {
     return ['command'] + parent::__sleep();
 }
 /**
  * @return array
  */
 public function __sleep()
 {
     return ['allowPartialResults', 'awaitData', 'flags', 'hint', 'limit', 'maxTimeMS', 'noCursorTimeout', 'optionNames', 'options', 'projection', 'query', 'skip', 'snapshot', 'sort', 'tailable'] + parent::__sleep();
 }