Esempio n. 1
0
 /**
  * Process property of unknown type
  *
  * Method warns the user about the unknown type
  * and then uses a fallback; it attempts to just
  * handle the property as if it was of the type
  * 'value'
  *
  * @see handleValueType()
  *
  * @param Property $property
  *
  * @return null|string Property's value
  */
 protected function handleUnknownType(Property $property)
 {
     $message = "Unknown property type '{$property->getType()}' on '{$property->getId()}'." . PHP_EOL;
     $message .= "Using fallback of type 'VALUE' to process property.";
     $this->output->warning($message);
     return $this->handleValueType($property);
 }