Created
March 23, 2017 15:39
-
-
Save 844196/46387936323404cd618b776e2c6b8089 to your computer and use it in GitHub Desktop.
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 | |
require $argv[1]; | |
$propertyNames = array_map( | |
function ($property) { return $property->getName(); }, | |
(new \ReflectionClass(Operation::class))->getProperties() | |
); | |
echo json_encode($propertyNames) . PHP_EOL; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment