yii\base\Controller::bindActionParams PHP Method

bindActionParams() public method

This method is invoked by Action when it begins to run with the given parameters.
public bindActionParams ( Action $action, array $params ) : array
$action Action the action to be bound with parameters.
$params array the parameters to be bound to the action.
return array the valid parameters that the action can run with.
    public function bindActionParams($action, $params)
    {
        return [];
    }