src/Serializer/NativeJsonSerializer.php
private function useAssoc($params)
    {
        $assoc = true;
        if (isset($params['assoc']) && is_bool($params['assoc'])) {
            $assoc = $params['assoc'];
        }

        return $assoc;
    }
private function useAssoc($params)
    {
        $assoc = true;
        if (isset($params['assoc']) && is_bool($params['assoc'])) {
            $assoc = $params['assoc'];
        }

        return $assoc;
    }
private function useAssoc ( $ params ) { $ assoc = true ; if ( isset ( $ params [ 'assoc' ] ) && is_bool ( $ params [ 'assoc' ] ) ) { $ assoc = $ params [ 'assoc' ] ; } return $ assoc ; }
Decides whether to use assoc or stdClass.

@param array $params The array of params.

@return boolean
@author Mario Mueller
Decides whether to use assoc or stdClass .