public hasStaticType ( ) : boolean | ||
return | boolean | True if this type has a type referencing the class context 'static'. |
public function hasStaticType() : bool
{
return false !== $this->type_set->find(function (Type $type) : bool {
return $type->isStaticType();
});
}