ClassNameDetails
in package
Table of Contents
- $fullClassName : mixed
- $namespacePrefix : mixed
- $suffix : mixed
- __construct() : mixed
- getFullName() : string
- getRelativeName() : string
- Returns the original class name the user entered (after being cleaned up).
- getRelativeNameWithoutSuffix() : string
- getShortName() : string
Properties
$fullClassName
private
mixed
$fullClassName
$namespacePrefix
private
mixed
$namespacePrefix
$suffix
private
mixed
$suffix
Methods
__construct()
public
__construct(string $fullClassName, string $namespacePrefix[, string $suffix = null ]) : mixed
Parameters
- $fullClassName : string
- $namespacePrefix : string
- $suffix : string = null
Return values
mixed —getFullName()
public
getFullName() : string
Return values
string —getRelativeName()
Returns the original class name the user entered (after being cleaned up).
public
getRelativeName() : string
For example, assuming the namespace is App\Entity: App\Entity\Admin\User => Admin\User
Return values
string —getRelativeNameWithoutSuffix()
public
getRelativeNameWithoutSuffix() : string
Return values
string —getShortName()
public
getShortName() : string