public function __call($method, $arguments) { if ($this->isRelation()) { $this->name = "{$this->relation}.{$method}"; $this->label = isset($arguments[0]) ? $arguments[0] : ucfirst($method); $this->relationColumn = $method; return $this; } }