public function setRelation($relation, $value)
    {
        $this->checkInitRelations();
        $this->relations[$relation] = $value;

        return $this;
    }
public function setRelation($relation, $value)
    {
        $this->checkInitRelations();
        $this->relations[$relation] = $value;

        return $this;
    }
public function setRelation ( $ relation , $ value ) { $ this -> checkInitRelations ( ) ; $ this -> relations [ $ relation ] = $ value ; return $ this ; }
Set the specific relationship in the model.
@param  string $relation
@param  mixed $value
@return $this
@throws \Exception
Set the specific relationship in the model .