__debugInfo() public method

Returns an array that can be used to describe the internal state of this object.
public __debugInfo ( ) : array
return array
 /**
  * {@inheritDoc}
  */
 public function __debugInfo()
 {
     $eagerLoader = $this->eagerLoader();
     return parent::__debugInfo() + ['hydrate' => $this->_hydrate, 'buffered' => $this->_useBufferedResults, 'formatters' => count($this->_formatters), 'mapReducers' => count($this->_mapReduce), 'contain' => $eagerLoader ? $eagerLoader->contain() : [], 'matching' => $eagerLoader ? $eagerLoader->matching() : [], 'extraOptions' => $this->_options, 'repository' => $this->_repository];
 }
Esempio n. 2
0
 /**
  * {@inheritDoc}
  */
 public function __debugInfo()
 {
     return parent::__debugInfo() + ['hydrate' => $this->_hydrate, 'buffered' => $this->_useBufferedResults, 'formatters' => count($this->_formatters), 'mapReducers' => count($this->_mapReduce), 'contain' => $this->contain(), 'extraOptions' => $this->_options, 'repository' => $this->_repository];
 }