Method | Description | |
---|---|---|
__toString ( ) : string | ||
fromFullyQualifiedString ( string $fully_qualified_string ) | ||
fromStringInContext ( string $fqsen_string, |
||
getFullyQualifiedClassName ( ) : |
||
make ( |
||
toString ( |
||
withAlternateId ( integer $alternate_id ) : static | ||
withFullyQualifiedClassName ( |
Method | Description | |
---|---|---|
__construct ( |
protected __construct ( |
||
$fully_qualified_class_name | The fully qualified class name of the class in whic this element exists | |
$name | string | A name if one is in scope or the empty string otherwise. |
$alternate_id | integer | An alternate ID for the element for use when there are multiple definitions of the element |
public __toString ( ) : string | ||
return | string | A string representation of this fully-qualified structural element name. |
public static fromFullyQualifiedString ( string $fully_qualified_string ) | ||
$fully_qualified_string | string | An FQSEN string like '\Namespace\Class::methodName' |
public static fromStringInContext ( string $fqsen_string, |
||
$fqsen_string | string | An FQSEN string like '\Namespace\Class::methodName' |
$context | The context in which the FQSEN string was found | |
return | static |
public getFullyQualifiedClassName ( ) : |
||
return | The fully qualified class name associated with this class element. |
public static make ( |
||
$fully_qualified_class_name | The fully qualified class name of the class in whic this element exists | |
$name | string | A name if one is in scope or the empty string otherwise. |
$alternate_id | integer | An alternate ID for the element for use when there are multiple definitions of the element |
public withAlternateId ( integer $alternate_id ) : static | ||
$alternate_id | integer | |
return | static | A FQSEN with the given alternate_id set |
public withFullyQualifiedClassName ( |
||
$fully_qualified_class_name | ||
return | static | A new object with the given fully qualified class name |