Пример #1
0
 protected function setJoin($query = null)
 {
     $query = $query ?: $this->query;
     return parent::setJoin($query instanceof EloquentBuilder ? $query->getQuery() : $query);
 }