Created
March 25, 2020 20:01
-
-
Save brzuchal/c985ceefb76914748f01bd9ce410c135 to your computer and use it in GitHub Desktop.
PHP Reflection in PHP Namespace
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 | |
namespace { | |
class ReflectionClass extends \Php\ReflectionClass {} | |
class ReflectionType extends \Php\ReflectionTypeConstraint {} | |
class ReflectionNamedType extends \Php\ReflectionClassTypeConstraint {} | |
} | |
namespace Php { | |
abstract class ReflectionType implements Reflector {} | |
class ReflectionClass extends ReflectionType {} | |
class ReflectionTypeConstraint {} | |
class ReflectionClassTypeConstraint extends ReflectionTypeConstraint {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment