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\Braintree\Dependency\Client;
class BraintreeToGlossaryClientBridge implements BraintreeToGlossaryClientInterface
{
* @var \Spryker\Client\Glossary\GlossaryClientInterface
protected $glossaryClient;
* @param \Spryker\Client\Glossary\GlossaryClientInterface $glossaryClient
public function __construct($glossaryClient)
$this->glossaryClient = $glossaryClient;
}
* @param string $id
* @param string $localeName
* @param array $parameters
*
* @return string
public function translate($id, $localeName, array $parameters = [])
return $this->glossaryClient->translate($id, $localeName, $parameters);