\VivialConnect\CommonUtility

Summary

Methods
Properties
Constants
startsWith()
endsWith()
getClassName()
removeRoot()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

startsWith()

startsWith(  $haystack,   $needle) 

Parameters

$haystack
$needle

endsWith()

endsWith(  $haystack,   $needle) 

Parameters

$haystack
$needle

getClassName()

getClassName(  $name) 

Parameters

$name

removeRoot()

removeRoot(object  $data) : array|object

Removes root key from object and returns a new object or array without root key.

Parameters

object $data

Returns

array|object