Cake\ORM\Table::__debugInfo PHP Method

__debugInfo() public method

Returns an array that can be used to describe the internal state of this object.
public __debugInfo ( ) : array
return array
    public function __debugInfo()
    {
        $conn = $this->connection();
        $associations = $this->_associations ?: false;
        $behaviors = $this->_behaviors ?: false;
        return ['registryAlias' => $this->registryAlias(), 'table' => $this->table(), 'alias' => $this->alias(), 'entityClass' => $this->entityClass(), 'associations' => $associations ? $associations->keys() : false, 'behaviors' => $behaviors ? $behaviors->loaded() : false, 'defaultConnection' => $this->defaultConnectionName(), 'connectionName' => $conn ? $conn->configName() : null];
    }