예제 #1
0
 /**
  * @param $hashtable
  * @return HashtableReflector
  */
 function &createHashtableReflector($hashtable)
 {
     require_once 'Reflection/HashTableReflector.php';
     $reflector = new HashtableReflector();
     $reflector->setHashtable($hashtable);
     return $reflector;
 }
예제 #2
0
 function createDifferentThousandsAndDecimalSeparatorsValidator()
 {
     $equalToValidator = $this->generalValidationFactory->createEqualToValidator($this->dataReflector->get('decimal_separator'));
     return $this->generalValidationFactory->createNotValidator($equalToValidator);
 }