PHP Trait gossi\codegen\model\parts\QualifiedNamePart

For all models that have a name and namespace
Author: Thomas Gossmann
Inheritance: use trait NamePart
Datei anzeigen Open project: gossi/php-code-generator

Public Methods

Method Description
getNamespace ( ) : string Returns the namespace
getQualifiedName ( ) : string Returns the qualified name
setNamespace ( string $namespace ) Sets the namespace
setQualifiedName ( string $name ) In contrast to setName(), this method accepts the fully qualified name including the namespace.

Method Details

getNamespace() public method

Returns the namespace
public getNamespace ( ) : string
return string

getQualifiedName() public method

Returns the qualified name
public getQualifiedName ( ) : string
return string

setNamespace() public method

Sets the namespace
public setNamespace ( string $namespace )
$namespace string

setQualifiedName() public method

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