Documentation

CT
in package

FinalYes
Tags
author

Dariusz Rumiński dariusz.ruminski@gmail.com

Table of Contents

Constants

T_ARRAY_INDEX_CURLY_BRACE_CLOSE  = 10001
T_ARRAY_INDEX_CURLY_BRACE_OPEN  = 10002
T_ARRAY_SQUARE_BRACE_CLOSE  = 10003
T_ARRAY_SQUARE_BRACE_OPEN  = 10004
T_ARRAY_TYPEHINT  = 10005
T_ATTRIBUTE_CLOSE  = 10031
T_BRACE_CLASS_INSTANTIATION_CLOSE  = 10006
T_BRACE_CLASS_INSTANTIATION_OPEN  = 10007
T_CLASS_CONSTANT  = 10008
T_CONST_IMPORT  = 10009
T_CONSTRUCTOR_PROPERTY_PROMOTION_PRIVATE  = 10030
T_CONSTRUCTOR_PROPERTY_PROMOTION_PROTECTED  = 10029
T_CONSTRUCTOR_PROPERTY_PROMOTION_PUBLIC  = 10028
T_CURLY_CLOSE  = 10010
T_DESTRUCTURING_SQUARE_BRACE_CLOSE  = 10011
T_DESTRUCTURING_SQUARE_BRACE_OPEN  = 10012
T_DISJUNCTIVE_NORMAL_FORM_TYPE_PARENTHESIS_CLOSE  = 10037
T_DISJUNCTIVE_NORMAL_FORM_TYPE_PARENTHESIS_OPEN  = 10036
T_DOLLAR_CLOSE_CURLY_BRACES  = 10013
T_DYNAMIC_CLASS_CONSTANT_FETCH_CURLY_BRACE_CLOSE  = 10039
T_DYNAMIC_CLASS_CONSTANT_FETCH_CURLY_BRACE_OPEN  = 10038
T_DYNAMIC_PROP_BRACE_CLOSE  = 10014
T_DYNAMIC_PROP_BRACE_OPEN  = 10015
T_DYNAMIC_VAR_BRACE_CLOSE  = 10016
T_DYNAMIC_VAR_BRACE_OPEN  = 10017
T_FIRST_CLASS_CALLABLE  = 10034
T_FUNCTION_IMPORT  = 10018
T_GROUP_IMPORT_BRACE_CLOSE  = 10019
T_GROUP_IMPORT_BRACE_OPEN  = 10020
T_NAMED_ARGUMENT_COLON  = 10033
T_NAMED_ARGUMENT_NAME  = 10032
T_NAMESPACE_OPERATOR  = 10021
T_NULLABLE_TYPE  = 10022
T_RETURN_REF  = 10023
T_TYPE_ALTERNATION  = 10024
T_TYPE_COLON  = 10025
T_TYPE_INTERSECTION  = 10035
T_USE_LAMBDA  = 10026
T_USE_TRAIT  = 10027

Methods

getName()  : string
Get name for custom token.
has()  : bool
Check if given custom token exists.
__construct()  : mixed
getMapById()  : array<string|int, mixed>

Constants

T_ARRAY_INDEX_CURLY_BRACE_CLOSE

public mixed T_ARRAY_INDEX_CURLY_BRACE_CLOSE = 10001

T_ARRAY_INDEX_CURLY_BRACE_OPEN

public mixed T_ARRAY_INDEX_CURLY_BRACE_OPEN = 10002

T_ARRAY_SQUARE_BRACE_CLOSE

public mixed T_ARRAY_SQUARE_BRACE_CLOSE = 10003

T_ARRAY_SQUARE_BRACE_OPEN

public mixed T_ARRAY_SQUARE_BRACE_OPEN = 10004

T_ARRAY_TYPEHINT

public mixed T_ARRAY_TYPEHINT = 10005

T_ATTRIBUTE_CLOSE

public mixed T_ATTRIBUTE_CLOSE = 10031

T_BRACE_CLASS_INSTANTIATION_CLOSE

public mixed T_BRACE_CLASS_INSTANTIATION_CLOSE = 10006

T_BRACE_CLASS_INSTANTIATION_OPEN

public mixed T_BRACE_CLASS_INSTANTIATION_OPEN = 10007

T_CLASS_CONSTANT

public mixed T_CLASS_CONSTANT = 10008

T_CONST_IMPORT

public mixed T_CONST_IMPORT = 10009

T_CONSTRUCTOR_PROPERTY_PROMOTION_PRIVATE

public mixed T_CONSTRUCTOR_PROPERTY_PROMOTION_PRIVATE = 10030

T_CONSTRUCTOR_PROPERTY_PROMOTION_PROTECTED

public mixed T_CONSTRUCTOR_PROPERTY_PROMOTION_PROTECTED = 10029

T_CONSTRUCTOR_PROPERTY_PROMOTION_PUBLIC

public mixed T_CONSTRUCTOR_PROPERTY_PROMOTION_PUBLIC = 10028

T_CURLY_CLOSE

public mixed T_CURLY_CLOSE = 10010

T_DESTRUCTURING_SQUARE_BRACE_CLOSE

public mixed T_DESTRUCTURING_SQUARE_BRACE_CLOSE = 10011

T_DESTRUCTURING_SQUARE_BRACE_OPEN

public mixed T_DESTRUCTURING_SQUARE_BRACE_OPEN = 10012

T_DISJUNCTIVE_NORMAL_FORM_TYPE_PARENTHESIS_CLOSE

public mixed T_DISJUNCTIVE_NORMAL_FORM_TYPE_PARENTHESIS_CLOSE = 10037

T_DISJUNCTIVE_NORMAL_FORM_TYPE_PARENTHESIS_OPEN

public mixed T_DISJUNCTIVE_NORMAL_FORM_TYPE_PARENTHESIS_OPEN = 10036

T_DOLLAR_CLOSE_CURLY_BRACES

public mixed T_DOLLAR_CLOSE_CURLY_BRACES = 10013

T_DYNAMIC_CLASS_CONSTANT_FETCH_CURLY_BRACE_CLOSE

public mixed T_DYNAMIC_CLASS_CONSTANT_FETCH_CURLY_BRACE_CLOSE = 10039

T_DYNAMIC_CLASS_CONSTANT_FETCH_CURLY_BRACE_OPEN

public mixed T_DYNAMIC_CLASS_CONSTANT_FETCH_CURLY_BRACE_OPEN = 10038

T_DYNAMIC_PROP_BRACE_CLOSE

public mixed T_DYNAMIC_PROP_BRACE_CLOSE = 10014

T_DYNAMIC_PROP_BRACE_OPEN

public mixed T_DYNAMIC_PROP_BRACE_OPEN = 10015

T_DYNAMIC_VAR_BRACE_CLOSE

public mixed T_DYNAMIC_VAR_BRACE_CLOSE = 10016

T_DYNAMIC_VAR_BRACE_OPEN

public mixed T_DYNAMIC_VAR_BRACE_OPEN = 10017

T_FIRST_CLASS_CALLABLE

public mixed T_FIRST_CLASS_CALLABLE = 10034

T_FUNCTION_IMPORT

public mixed T_FUNCTION_IMPORT = 10018

T_GROUP_IMPORT_BRACE_CLOSE

public mixed T_GROUP_IMPORT_BRACE_CLOSE = 10019

T_GROUP_IMPORT_BRACE_OPEN

public mixed T_GROUP_IMPORT_BRACE_OPEN = 10020

T_NAMED_ARGUMENT_COLON

public mixed T_NAMED_ARGUMENT_COLON = 10033

T_NAMED_ARGUMENT_NAME

public mixed T_NAMED_ARGUMENT_NAME = 10032

T_NAMESPACE_OPERATOR

public mixed T_NAMESPACE_OPERATOR = 10021

T_NULLABLE_TYPE

public mixed T_NULLABLE_TYPE = 10022

T_RETURN_REF

public mixed T_RETURN_REF = 10023

T_TYPE_ALTERNATION

public mixed T_TYPE_ALTERNATION = 10024

T_TYPE_COLON

public mixed T_TYPE_COLON = 10025

T_TYPE_INTERSECTION

public mixed T_TYPE_INTERSECTION = 10035

T_USE_LAMBDA

public mixed T_USE_LAMBDA = 10026

T_USE_TRAIT

public mixed T_USE_TRAIT = 10027

Methods

getName()

Get name for custom token.

public static getName(int $value) : string
Parameters
$value : int

custom token value

Return values
string

has()

Check if given custom token exists.

public static has(int $value) : bool
Parameters
$value : int

custom token value

Return values
bool

__construct()

private __construct() : mixed

getMapById()

private static getMapById() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results