Skip to content

Instantly share code, notes, and snippets.

@dominikzogg
Created January 22, 2015 06:53
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dominikzogg/0b5fc045088df33d505e to your computer and use it in GitHub Desktop.
Save dominikzogg/0b5fc045088df33d505e to your computer and use it in GitHub Desktop.
CRUDTrait.php Skeleton
<?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