Puli\Manager\Json\JsonStorage::decode PHP Méthode

decode() private méthode

private decode ( $json, $path )
    private function decode($json, $path)
    {
        try {
            return $this->jsonDecoder->decode($json);
        } catch (DecodingFailedException $e) {
            throw new InvalidConfigException(sprintf('The configuration in %s could not be decoded: %s', $path, $e->getMessage()), 0, $e);
        }
    }