gossi\codegen\model\TraitsInterface::hasTrait PHP Méthode

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);