spec/DummyData.php
public function getStdClass($formatAble = false)
    {
        $object = new stdClass();
        $object->testProperty = 'test';
        $object->nullProperty = null;
        $object->arrayProperty = [
            'level1' => [
                'level2a' => null,
                'level2' => [
                    'level3' => 'value',
                    'level3b' => null,
                ],
            ],
        ];

        if ($formatAble) {
            $object = Manager::formatAble($object);
        }

        return $object;
    }
public function getStdClass($formatAble = false)
    {
        $object = new stdClass();
        $object->testProperty = 'test';
        $object->nullProperty = null;
        $object->arrayProperty = [
            'level1' => [
                'level2a' => null,
                'level2' => [
                    'level3' => 'value',
                    'level3b' => null,
                ],
            ],
        ];

        if ($formatAble) {
            $object = Manager::formatAble($object);
        }

        return $object;
    }
public function getStdClass ( $ formatAble = false ) { $ object = new stdClass ( ) ; $ object -> testProperty = 'test' ; $ object -> nullProperty = null ; $ object -> arrayProperty = [ 'level1' => [ 'level2a' => null , 'level2' => [ 'level3' => 'value' , 'level3b' => null , ] , ] , ] ; if ( $ formatAble ) { $ object = Manager :: formatAble ( $ object ) ; } return $ object ; }
Get stdClass dummy data.

@param bool $formatAble

@return stdClass
Get stdClass dummy data .