for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* Copyright © 2016-present Spryker Systems GmbH. All rights reserved.
* Use of this software requires acceptance of the Evaluation License Agreement. See LICENSE file.
*/
namespace SprykerEco\Yves\Coremedia\Dependency\Service;
class CoremediaToUtilEncodingServiceBridge implements CoremediaToUtilEncodingServiceInterface
{
* @var \Spryker\Service\UtilEncoding\UtilEncodingServiceInterface
protected $utilEncodingService;
* @param \Spryker\Service\UtilEncoding\UtilEncodingServiceInterface $utilEncodingService
public function __construct($utilEncodingService)
$this->utilEncodingService = $utilEncodingService;
}
* @param string $jsonValue
* @param bool $assoc
* @param int|null $depth
* @param int|null $options
*
* @return mixed|null
public function decodeJson($jsonValue, $assoc = false, $depth = null, $options = null)
return $this->utilEncodingService->decodeJson($jsonValue, $assoc, $depth, $options);