Exemplo n.º 1
0
 /**
  * Returns the name of the constant according to its value 
  *
  * @param mixed $value
  * @return string
  */
 public function getConstantName($value)
 {
     $this->getTypeReflector();
     if ($this->_typeReflector) {
         return $this->_typeReflector->getConstantName($value);
     } else {
         return null;
     }
 }