/** * Get information for a Property * * @param ReflectionProperty $property The property to get Information for * @return WsdlService The Service Information object */ private static function getWsdlProperty(ReflectionProperty $property) { $propertyInfo = DocBlockParser::getPropertyInfo($property); // Return Nothing if the Property Was not Documented if (!isset($propertyInfo['type']) || $propertyInfo['type'] == "") { return null; } $wsdlProperty = new WsdlProperty(); $wsdlProperty->setName($property->getName()); $wsdlProperty->setType($propertyInfo['type']); $wsdlProperty->setDesc($propertyInfo['desc']); return $wsdlProperty; }