/** * Visits a property node. * * @param PHP_Depend_Code_Property $property The property class node. * * @return void * @see PHP_Depend_VisitorI::visitProperty() */ public function visitProperty(PHP_Depend_Code_Property $property) { $this->visits[] = $property->getName(); parent::visitProperty($property); }
/** * Visits an interface node. * * @param PHP_Depend_Code_Interface $node The current interface node. * * @return void * @see PHP_Depend_VisitorI::visitInterface() */ public function visitInterface(PHP_Depend_Code_Interface $node) { if (!$node->isUserDefined()) { return; } $this->_apply(new PHP_PMD_Node_Interface($node)); parent::visitInterface($node); }