Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
gossi
codegen
model
TraitsInterface
hasTrait
gossi\codegen\model\TraitsInterface::hasTrait PHP Method
TraitsInterface Interface Documentation
Datei anzeigen
Open project: gossi/php-code-generator
hasTrait()
public
method
Checks whether a trait exists
public
hasTrait
(
PhpTrait |
string
$trait
) :
boolean
$trait
PhpTrait |
string
return
boolean
`true` if it exists and `false` if not
public function hasTrait($trait);
TraitsInterface
addTrait
getTraits
hasTrait
removeTrait
setTraits