Last active
January 24, 2017 04:26
-
-
Save barrychapman/57b0858519ba72e62e290260cd64178a to your computer and use it in GitHub Desktop.
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 | |
namespace App\My\Namespace; | |
class MyTable extends Table { | |
} | |
?> | |
then when you use the table in one of your model tables: | |
<?php | |
namespace App\Model\Table; | |
use App\Model\Entity; | |
use App\My\Namespace\MyTable as Table; | |
use Cake\Validation\Validator; | |
use Cake\ORM\Query; | |
class MyOtherModelTable extends Table { <-- this will now extend your new table. | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment