Created
January 22, 2015 06:53
-
-
Save dominikzogg/0b5fc045088df33d505e to your computer and use it in GitHub Desktop.
CRUDTrait.php Skeleton
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 | |
trait BaseTrait | |
{ | |
abstract public function getDoctine(); | |
} | |
abstract class BaseClass | |
{ | |
use BaseTrait; | |
public function getDoctine() | |
{ | |
// TODO: Implement getDoctine() method. | |
} | |
} | |
class ConrecteClass extends BaseClass | |
{ | |
} | |
$test = new ConrecteClass(); | |
$test->getDoctine(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment