This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
abstract class Enum { | |
protected $value; | |
public function getValue() | |
{ | |
return $this->value; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* | |
* Available context bindings: | |
* COLUMNS List<DataColumn> | |
* ROWS Iterable<DataRow> | |
* OUT { append() } | |
* FORMATTER { format(row, col); formatValue(Object, col) } | |
* TRANSPOSED Boolean | |
* plus ALL_COLUMNS, TABLE, DIALECT | |
* | |
* where: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TOKEN= # Create github token here https://github.com/settings/tokens and check `repo` scope | |
USERNAME= # github user name | |
ISSUE_ID= # issue id without '#' | |
PR_HEAD= # usually your feature branch | |
PR_BASE= # usually `master` | |
REPO= # repository name | |
curl --user "$USERNAME:$TOKEN" \ | |
--header "Accept: application/vnd.github.v3+json" \ | |
--request POST \ |