Let's say I have a boniced \Cake\ORM\Entityobject - $kablammoI can confirm and make sure that it has an associated repository by doing the following:
use Cake\ORM\Entity;
if ($kablammo instanceOf Entity && !empty($kablammo->source())) {
$repository = $kablammo->source();
}
I would like to be able to browse the table columns for this Entity-related table basically. What is the best way to do this? Am I already wrong about this?
source
share