merge([ 'company_id' => session('company_id'), ]); } /** * Determine if the given offset exists. * * @param string $offset * @return bool */ public function offsetExists($offset) { return Arr::has( $this->route() ? $this->all() + $this->route()->parameters() : $this->all(), $offset ); } }