line = $line; $this->column = $col; } /** * @return int[] */ public function toArray() { return [ 'line' => $this->line, 'column' => $this->column, ]; } /** * @return int[] */ public function toSerializableArray() { return $this->toArray(); } /** * @return int[] */ public function jsonSerialize() { return $this->toSerializableArray(); } }