seeCallback ? call_user_func($this->seeCallback, $request) : true; } /** * Set the callback to be run to authorize viewing the filter or action. * * @param \Closure(\Illuminate\Http\Request):bool $callback * @return $this */ public function canSee(Closure $callback) { $this->seeCallback = $callback; return $this; } }