Example #1
0
 /**
  * Add a model representation to the api
  *
  * @param Model $model
  */
 public function addModel(Model $model)
 {
     $model->setAPI($this);
     $this->models[] = $model;
 }