public function actions($actions)
    {
        if ($actions instanceof Closure) {
            $this->actionsCallback = $actions;
        }

        if (is_string($actions) && is_subclass_of($actions, Displayers\Actions::class)) {
            $this->actionsClass = $actions;
        }

        return $this;
    }
public function actions($actions)
    {
        if ($actions instanceof Closure) {
            $this->actionsCallback = $actions;
        }

        if (is_string($actions) && is_subclass_of($actions, Displayers\Actions::class)) {
            $this->actionsClass = $actions;
        }

        return $this;
    }
public function actions ( $ actions ) { if ( $ actions instanceof Closure ) { $ this -> actionsCallback = $ actions ; } if ( is_string ( $ actions ) && is_subclass_of ( $ actions , Displayers \ Actions :: class ) ) { $ this -> actionsClass = $ actions ; } return $ this ; }
Set grid action callback.

@param Closure|string $actions

@return $this
Set grid action callback .