Пример #1
0
 function setRelation($name, Relations\Relation $relation)
 {
     $this->relations[$name] = $relation->relate($this);
 }