Menu

## TypeName
in package

TypeName.php : 18

### Table of Contents

$namespaceName : string|null
$simpleName : string
__construct() : mixed
fromQualifiedName() : self
fromReflection() : self
getNamespaceName() : string|null
getQualifiedName() : string
getSimpleName() : string
isNamespaced() : bool
namespaceName() : string|null
qualifiedName() : string
simpleName() : string

### Properties

#### $namespaceName

TypeName.php : 23
`private string|null $namespaceName`

#### $simpleName

TypeName.php : 28
`private string $simpleName`

### Methods

#### __construct()

TypeName.php : 52
`public __construct(string|null $namespaceName, string $simpleName) : mixed`

##### Parameters

$namespaceName : string|null
$simpleName : string

##### Return values

mixed —

#### fromQualifiedName()

TypeName.php : 30
`public static fromQualifiedName(string $fullClassName) : self`

##### Parameters

$fullClassName : string

##### Return values

self —

#### fromReflection()

TypeName.php : 44
`public static fromReflection(ReflectionClass $type) : self`

##### Parameters

$type : ReflectionClass

##### Return values

self —

#### getNamespaceName()

TypeName.php : 84
`public getNamespaceName() : string|null`

##### Tags

deprecated

  Use namespaceName() instead

codeCoverageIgnore

##### Return values

string|null —

#### getQualifiedName()

TypeName.php : 104
`public getQualifiedName() : string`

##### Tags

deprecated

  Use qualifiedName() instead

codeCoverageIgnore

##### Return values

string —

#### getSimpleName()

TypeName.php : 94
`public getSimpleName() : string`

##### Tags

deprecated

  Use simpleName() instead

codeCoverageIgnore

##### Return values

string —

#### isNamespaced()

TypeName.php : 109
`public isNamespaced() : bool`

##### Return values

bool —

#### namespaceName()

TypeName.php : 62
`public namespaceName() : string|null`

##### Return values

string|null —

#### qualifiedName()

TypeName.php : 72
`public qualifiedName() : string`

##### Return values

string —

#### simpleName()

TypeName.php : 67
`public simpleName() : string`

##### Return values

string —

## Search results