-
-
Save DaveRandom/5080dd15d39be2d8984bcfadd4863c16 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 | |
class ReflectionType | |
{ | |
function allowsNull(): bool; | |
function isBuiltin(): bool; | |
function __toString(): string; | |
} | |
class ReflectionScalarType extends ReflectionType | |
{ | |
function getName(): string; | |
} | |
class ReflectionClassType extends ReflectionType | |
{ | |
function getName(): string; | |
function getClass(): ReflectionClass; | |
} | |
class ReflectionCompositeType extends ReflectionType | |
{ | |
function getTypes(): ReflectionType[]; | |
} | |
class ReflectionUnionType extends ReflectionCompositeType {} | |
class ReflectionIntersectionType extends ReflectionCompositeType {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment