public function isPublic() { return ($this->flags & Class_::MODIFIER_PUBLIC) !== 0 || ($this->flags & Class_::VISIBILITY_MODIFER_MASK) === 0; }
private function enterClassMethod(ClassMethod $node) { $methodName = $node->name; if ($this->isGetterOrSetter($methodName) !== true && $this->isNeitherConstructorNorDestructor($methodName)) { $this->methods[$methodName] = $node->isPublic(); } }