Get relation by model name
public getRelation ( string $modelName ) : |
||
$modelName | string | |
return |
/** * @expectedException Bluz\Db\Exception\RelationNotFoundException */ public function testGetRelationException() { $this->row->getRelation('wrongRelation'); }