Skip to content

Instantly share code, notes, and snippets.

@bernard-ng
Created July 20, 2020 11:05
Show Gist options
  • Save bernard-ng/c6e3b0798fbae4bad0f3bf99fbd09034 to your computer and use it in GitHub Desktop.
Save bernard-ng/c6e3b0798fbae4bad0f3bf99fbd09034 to your computer and use it in GitHub Desktop.
<?php
const INCREMENT_ACTION = 'INCREMENT';
const DECREMENT_ACTION = 'DECREMENT';
$actions = [
'increment' => [
'type' => INCREMENT_ACTION
],
'decrement' => [
'type' => DECREMENT_ACTION
],
];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment