Zephir\ClassDefinition::hasConstantFromInterfaces PHP Метод

hasConstantFromInterfaces() защищенный Метод

protected hasConstantFromInterfaces ( $name ) : boolean
$name
Результат boolean
    protected function hasConstantFromInterfaces($name)
    {
        if ($interfaces = $this->getImplementedInterfaceDefinitions()) {
            foreach ($interfaces as $interface) {
                if ($interface->hasConstant($name)) {
                    return true;
                }
            }
        }
        return false;
    }