Orms and Circular References
In my spare time I have been working on an ORM… not one meant to be used in the real world (well… not yet anyway). I currently have hasOne and hasMany working like so: <?php /** * @property int $id * @property string $type * @property int $car_id */ class wheelBoilerplate extends orm{ protected function init(){ $this->addProperty(’type’, array( ‘type’=>’string’,… Read more →
