forked from LiveCarta/PayPal-PHP-SDK
Updating model classes to use dynamic config - Moving common classes to sdk-core-php
This commit is contained in:
@@ -1,19 +0,0 @@
|
||||
<?php
|
||||
namespace PayPal\Common;
|
||||
|
||||
class ArrayUtil {
|
||||
|
||||
/**
|
||||
*
|
||||
* @param array $arr
|
||||
* @return true if $arr is an associative array
|
||||
*/
|
||||
public static function isAssocArray(array $arr) {
|
||||
foreach($arr as $k => $v) {
|
||||
if(is_int($k)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user