-
-
Save nikita2206/9b2b04a0b9fb425c685a07358dee43bd 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 | |
{ | |
const KIND_UNION = 0; | |
const KIND_INTERSECTION = 1; | |
function getTypes(): ReflectionType[]; | |
function getKind(): int; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment