src/Registry/AbstractRegistry.php
protected function decodeContent(string $content): array
    {
        $result = json_decode($content, true);
        return is_array($result) ? $result : [];
    }
protected function decodeContent(string $content): array
    {
        $result = json_decode($content, true);
        return is_array($result) ? $result : [];
    }
protected function decodeContent ( string $ content ) : array { $ result = json_decode ( $ content , true ) ; return is_array ( $ result ) ? $ result : [ ] ; }
Decodes the specified JSON content.
@param string $content
@return array
Decodes the specified JSON content .