NameTrait
Name trait
Tags
Table of Contents
- $name : string
- Name
- getName() : string
- Get the name
- hasName() : bool
- Get the name
- setName() : NameTrait
- Set the name
Properties
$name
Name
protected
string
$name
= null
Methods
getName()
Get the name
public
getName() : string
Return values
string —hasName()
Get the name
public
hasName() : bool
Return values
bool —setName()
Set the name
public
setName(string $name) : NameTrait
Parameters
- $name : string