Created
August 14, 2014 19:55
-
-
Save steinkel/d76235bc42fbcb65872e to your computer and use it in GitHub Desktop.
getting the Table of a given Entity in CakePHP 3.0
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$table = Cake\ORM\TableRegistry::get($entity->source()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment