Object_
in package
implements
Type
FinalYes
Value Object representing an object.
An object can be either typed or untyped. When an object is typed it means that it has an identifier, the FQSEN, pointing to an element in PHP. Object types that are untyped do not refer to a specific class but represent objects in general.
Tags
Table of Contents
Interfaces
Properties
- $fqsen : Fqsen|null
Methods
- __construct() : mixed
- Initializes this object with an optional FQSEN, if not provided this object is considered 'untyped'.
- __toString() : string
- Returns a rendered output of the Type as it would be used in a DocBlock.
- getFqsen() : Fqsen|null
- Returns the FQSEN associated with this object.
Properties
$fqsen
private
Fqsen|null
$fqsen
Methods
__construct()
Initializes this object with an optional FQSEN, if not provided this object is considered 'untyped'.
public
__construct([Fqsen|null $fqsen = null ]) : mixed
Parameters
- $fqsen : Fqsen|null = null
Tags
__toString()
Returns a rendered output of the Type as it would be used in a DocBlock.
public
__toString() : string
Return values
stringgetFqsen()
Returns the FQSEN associated with this object.
public
getFqsen() : Fqsen|null