getTags(self::API); } /** * Accept only public methods that are not tagged '@internal'. * * @param MethodReflection $method The method reflection object. * * @return bool */ public function acceptMethod(MethodReflection $method) { return $method->isPublic() && ! $method->getTags(self::INTERNAL); } /** * Accept only public properties that are not tagged '@internal'. * * @param PropertyReflection $property The property reflection object. * * @return bool */ public function acceptProperty(PropertyReflection $property) { return $property->isPublic() && ! $property->getTags(self::INTERNAL); } }