for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Woo\GridView\Columns\Actions;
class Action
{
/**
* @var string
*/
protected $url;
protected $content;
protected $method;
public function __construct(string $url, string $content, string $method = 'GET')
$this->url = $url;
$this->content = $content;
$this->method = $method;
}
public function render()
return view('woo_gridview::columns.action', [
'url' => $this->url,
'content' => $this->content,
'method' => $this->method,
])->render();