public function link($class, $property, $alias, $inverse = false) { $commandClass = $this->getCommandClass('link'); $this->command = new $commandClass($class, $property, $alias, $inverse); return $this->command; }
public function testLinkObjects() { $query = new Query(); $query->link('Company', 'id', 'in', true)->with('ORole', 'id'); $this->assertHttpStatus(200, $this->doQuery($query)); }