isFlatType() 보호된 메소드

Checks if the given type is a type that is not nested (simple type except array and object)
또한 보기: isSimpleType()
protected isFlatType ( string $type ) : boolean
$type string type name from gettype()
리턴 boolean True if it is a non-nested PHP type
예제 #1
0
 protected function isFlatType($type)
 {
     if ($this->bExceptionOnFlatType && parent::isFlatType($type)) {
         throw new \JsonMapper_Exception('Invalid data type for some properties');
     }
     return false;
 }