for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Leonidas\Library\Admin\Screen;
use Leonidas\Contracts\Admin\Screen\ScreenActionInterface;
class ScreenAction implements ScreenActionInterface
{
/**
* @var array
*/
protected $base;
* @var callable
protected $callback;
protected $screens;
* ajax actions that callback
protected $actions;
*
protected function __construct($base, array $screens, callable $callback, array $actions = [])
$this->base = (array) $base;
$this->screens = $screens;
$this->callback = $callback;
$this->actions = $actions;
}