Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
gossi
codegen
model
TraitsInterface
hasTrait
gossi\codegen\model\TraitsInterface::hasTrait PHP 메소드
TraitsInterface 0 문서
파일 보기
프로젝트 열기: gossi/php-code-generator
hasTrait()
공개
메소드
Checks whether a trait exists
public
hasTrait
(
PhpTrait |
string
$trait
) :
boolean
$trait
PhpTrait |
string
리턴
boolean
`true` if it exists and `false` if not
public function hasTrait($trait);
TraitsInterface
addTrait
getTraits
hasTrait
removeTrait
setTraits