Skip to content

Instantly share code, notes, and snippets.

View sjclemmy's full-sized avatar

Steve Clements sjclemmy

View GitHub Profile

Keybase proof

I hereby claim:

  • I am sjclemmy on github.
  • I am sjclemmy (https://keybase.io/sjclemmy) on keybase.
  • I have a public key ASCR7Vujw97x9RdE59dqDxvWOU7OBVciaYBWHwBfqLCNAAo

To claim this, I am signing this object:

@sjclemmy
sjclemmy / example.php
Last active August 29, 2015 14:07
polymorphic Closure Table Extension
<?php
use \Franzose\ClosureTable\Models\Entity as ClosureEntity;
Class PolyClosureModel extends ClosureEntity {
protected $rootKey;
public function getDescendants(array $columns = ['*'])
{