Documentation

TypeName
in package

Read onlyYes
FinalYes
Tags
no-named-arguments

Parameter names are not covered by the backward compatibility promise for this library

Table of Contents

Properties

$namespaceName  : string|null
$simpleName  : non-empty-string

Methods

__construct()  : mixed
fromQualifiedName()  : self
fromReflection()  : self
isNamespaced()  : bool
namespaceName()  : string|null
qualifiedName()  : non-empty-string
simpleName()  : non-empty-string

Properties

$namespaceName

private string|null $namespaceName

$simpleName

private non-empty-string $simpleName

Methods

__construct()

public __construct(string|null $namespaceName, non-empty-string $simpleName) : mixed
Parameters
$namespaceName : string|null
$simpleName : non-empty-string

fromQualifiedName()

public static fromQualifiedName(class-string $fullClassName) : self
Parameters
$fullClassName : class-string
Return values
self

fromReflection()

public static fromReflection(ReflectionClass<string|int, object> $type) : self
Parameters
$type : ReflectionClass<string|int, object>
Return values
self

isNamespaced()

public isNamespaced() : bool
Return values
bool

namespaceName()

public namespaceName() : string|null
Return values
string|null

qualifiedName()

public qualifiedName() : non-empty-string
Return values
non-empty-string

simpleName()

public simpleName() : non-empty-string
Return values
non-empty-string
On this page

Search results