gossi\codegen\model\TraitsInterface::hasTrait PHP Method

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