Skip to content

Commit

Permalink
When debugging we also want to know if the Entity is persistable.
Browse files Browse the repository at this point in the history
  • Loading branch information
JoshuaLuckers committed Jul 4, 2018
1 parent 4069319 commit f597821
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Datasource/EntityTrait.php
Expand Up @@ -1426,6 +1426,7 @@ public function __debugInfo()
return $properties + [
'[new]' => $this->isNew(),
'[accessible]' => $this->_accessible,
'[persistable]' => $this->_canBePersisted,
'[dirty]' => $this->_dirty,
'[original]' => $this->_original,
'[virtual]' => $this->_virtual,
Expand Down

0 comments on commit f597821

Please sign in to comment.