Toggle navigation
Hot Examples
FR
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Rechercher
Accueil
gossi
codegen
model
TraitsInterface
hasTrait
gossi\codegen\model\TraitsInterface::hasTrait PHP Méthode
TraitsInterface Interface Documentation
Afficher le fichier
Open project: gossi/php-code-generator
hasTrait()
public
méthode
Checks whether a trait exists
public
hasTrait
(
PhpTrait |
string
$trait
) :
boolean
$trait
PhpTrait |
string
Résultat
boolean
`true` if it exists and `false` if not
public function hasTrait($trait);
TraitsInterface
addTrait
getTraits
hasTrait
removeTrait
setTraits