src/Mouf/Reflection/TypeDescriptor.php
public function isPrimitiveTypesOrRecursiveArrayOfPrimitiveTypes() {
		if ($this->isPrimitiveType()) {
			return true;
		}
		if ($this->subType) {
			return $this->subType->isPrimitiveTypesOrRecursiveArrayOfPrimitiveTypes();
		}
		return false;
	}
public function isPrimitiveTypesOrRecursiveArrayOfPrimitiveTypes() {
		if ($this->isPrimitiveType()) {
			return true;
		}
		if ($this->subType) {
			return $this->subType->isPrimitiveTypesOrRecursiveArrayOfPrimitiveTypes();
		}
		return false;
	}
public function isPrimitiveTypesOrRecursiveArrayOfPrimitiveTypes ( ) { if ( $ this -> isPrimitiveType ( ) ) { return true ; } if ( $ this -> subType ) { return $ this -> subType -> isPrimitiveTypesOrRecursiveArrayOfPrimitiveTypes ( ) ; } return false ; }
Returns true if the type passed in parameter is primitive or an array of primitive
type or an array of array of primitive type, etc...

@param string $type
@return bool
Returns true if the type passed in parameter is primitive or an array of primitive type or an array of array of primitive type etc ...