yii\base\ActionEvent::__construct PHP Метод

__construct() публичный Метод

Constructor.
public __construct ( Action $action, array $config = [] )
$action Action the action associated with this action event.
$config array name-value pairs that will be used to initialize the object properties
    public function __construct($action, $config = [])
    {
        $this->action = $action;
        parent::__construct($config);
    }
ActionEvent