Module describe

Source
Expand description

Types used to describe downstream extensions. Used by the cargo-php CLI application to generate PHP stub files used by IDEs.

Modules§

abi
ABI-stable standard library types.

Structs§

Class
Represents an exported class.
Constant
Represents an exported constant, stand alone or attached to a class.
Description
Representation of the extension used to generate PHP stubs.
DocBlock
Represents a set of comments on an export.
Function
Represents an exported function.
Method
Represents a method attached to an exported class.
Module
Represents an extension containing a set of exports.
Parameter
Represents a parameter attached to an exported function or method.
Property
Represents a property attached to an exported class.
Retval
Represents a value returned from a function or method.

Enums§

MethodType
Enumerator used to differentiate between methods.
Visibility
Enumerator used to differentiate between different method and property visibilties.

Traits§

ToStub
Implemented on types which can be converted into PHP stubs.

Type Aliases§

DocComments
A slice of strings containing documentation comments.