Created
April 28, 2019 19:24
-
-
Save datashaman/20c5fc003dc0d635c563470616a97ed4 to your computer and use it in GitHub Desktop.
Datashaman\PHPCheck\elements Example
This file contains hidden or 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 | |
<<<CONFIG | |
packages: | |
- "datashaman/phpcheck: dev-wip" | |
CONFIG; | |
# | |
# This is a Melody script. http://melody.sensiolabs.org/ | |
# | |
use function Datashaman\PHPCheck\elements; | |
use function Datashaman\PHPCheck\generate; | |
use function Datashaman\PHPCheck\listOf1; | |
var_dump(generate(listOf1(elements(['abc', 123, 'u&me'])))); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment