trait QualifiedNameTrait

Traits

Methods

$this
setName(string $name)

Sets the name

from NameTrait
string
getName()

Returns the name

from NameTrait
$this
setNamespace(string $namespace)

Sets the namespace

$this
setQualifiedName(string $name)

In contrast to setName(), this method accepts the fully qualified name including the namespace.

string
getNamespace()

Returns the namespace

string
getQualifiedName()

Returns the qualified name

Details

in NameTrait at line line 14
$this setName(string $name)

Sets the name

Parameters

string $name

Return Value

$this

in NameTrait at line line 25
string getName()

Returns the name

Return Value

string

at line line 16
$this setNamespace(string $namespace)

Sets the namespace

Parameters

string $namespace

Return Value

$this

at line line 29
$this setQualifiedName(string $name)

In contrast to setName(), this method accepts the fully qualified name including the namespace.

Parameters

string $name

Return Value

$this

at line line 48
string getNamespace()

Returns the namespace

Return Value

string

at line line 57
string getQualifiedName()

Returns the qualified name

Return Value

string