for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* MIT License
* For full license information, please view the LICENSE file that was distributed with this source code.
*/
namespace SprykerEco\Zed\Afterpay\Dependency\Service;
class AfterpayToUtilTextBridge implements AfterpayToUtilTextInterface
{
* @var \Spryker\Service\UtilText\UtilTextServiceInterface
protected $utilTextService;
* @param \Spryker\Service\UtilText\UtilTextServiceInterface $utilTextService
public function __construct($utilTextService)
$this->utilTextService = $utilTextService;
}
* @param string $string
* @param string $separator
* @param bool $upperCaseFirst
*
* @return string
public function separatorToCamelCase($string, $separator = '-', $upperCaseFirst = false)
return $this->utilTextService->separatorToCamelCase($string, $separator, $upperCaseFirst);
public function camelCaseToSeparator($string, $separator = '-')
return $this->utilTextService->camelCaseToSeparator($string, $separator);