\Songshenzong\Support\Test\CoreStrTest

Class StrTest

Summary

Methods
Properties
Constants
testIsJson()
testIsXml()
testToArray()
testToObject()
testXmlToArray()
No public properties found
No constants found
No protected methods found
$xmlString
$jsonString
$simpleJsonArray
$simpleJsonString
N/A
No private methods found
No private properties found
N/A

Properties

$xmlString

$xmlString : string

Type

string

$jsonString

$jsonString : string

Type

string

$simpleJsonArray

$simpleJsonArray : array

Type

array

$simpleJsonString

$simpleJsonString : string

Type

string

Methods

testIsJson()

testIsJson() : mixed

Throws

\PHPUnit\Framework\ExpectationFailedException
\SebastianBergmann\RecursionContext\InvalidArgumentException

Returns

mixed —

testIsXml()

testIsXml() : mixed

Throws

\PHPUnit\Framework\ExpectationFailedException
\SebastianBergmann\RecursionContext\InvalidArgumentException

Returns

mixed —

testToArray()

testToArray() : mixed

Throws

\PHPUnit\Framework\ExpectationFailedException
\SebastianBergmann\RecursionContext\InvalidArgumentException

Returns

mixed —

testToObject()

testToObject() : mixed

Throws

\PHPUnit\Framework\ExpectationFailedException
\SebastianBergmann\RecursionContext\InvalidArgumentException

Returns

mixed —

testXmlToArray()

testXmlToArray() : mixed

Throws

\PHPUnit\Framework\ExpectationFailedException
\SebastianBergmann\RecursionContext\InvalidArgumentException

Returns

mixed —