public function isStatic()
{
return (bool) ($this->flags & Class_::MODIFIER_STATIC);
}
public function visitProperty(Property $node) { $prop = $node->props[0]; $p = new PhpProperty($prop->name); $p->setStatic($node->isStatic()); $p->setVisibility($this->getVisibility($node)); $this->parseValue($p, $prop); $this->parseMemberDocblock($p, $node->getDocComment()); $this->struct->setProperty($p); }