yii\base\InlineAction::__construct PHP Method

__construct() public method

public __construct ( string $id, Controller $controller, string $actionMethod, array $config = [] )
$id string the ID of this action
$controller Controller the controller that owns this action
$actionMethod string the controller method that this inline action is associated with
$config array name-value pairs that will be used to initialize the object properties
    public function __construct($id, $controller, $actionMethod, $config = [])
    {
        $this->actionMethod = $actionMethod;
        parent::__construct($id, $controller, $config);
    }