Skip to content

Instantly share code, notes, and snippets.

View mmoreram's full-sized avatar
🤑
Working on Apisearch

Marc Morera mmoreram

🤑
Working on Apisearch
View GitHub Profile
@mmoreram
mmoreram / create-platform.md
Last active December 23, 2015 16:29
Create new PayFony payment platform.
@mmoreram
mmoreram / doctrineTreeBuilder
Last active December 21, 2015 10:29
Doctrine2 Entity tree builder O(n)
<?php
/**
* Cost O(n)
*
* This method allow build a tree given following data
*
* $entities is an Array ( or any ArrayIterator implementation ) of $entity
* $entity is an Object ( can be Whatever )
*