spec/DummyData.php
public function getStdClassWithArray($formatAble = false)
    {
        $object = new stdClass();
        $object->array = [
            [
                'key' => 'value',
                'key2' => 'value2',
            ],
        ];

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

        return $object;
    }
public function getStdClassWithArray($formatAble = false)
    {
        $object = new stdClass();
        $object->array = [
            [
                'key' => 'value',
                'key2' => 'value2',
            ],
        ];

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

        return $object;
    }
public function getStdClassWithArray ( $ formatAble = false ) { $ object = new stdClass ( ) ; $ object -> array = [ [ 'key' => 'value' , 'key2' => 'value2' , ] , ] ; if ( $ formatAble ) { $ object = Manager :: formatAble ( $ object ) ; } return $ object ; }
Get stdClass dummy data with array.

@param bool|false $formatAble

@return stdClass
Get stdClass dummy data with array .