for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Softius\ResourcesResolver;
/**
* Class CallableResolver
* @package Softius\ResourcesResolver
*/
class CallableResolver implements StrategyAwareInterface
{
use StrategyAwareTrait;
* CallableResolver constructor.
public function __construct()
$this->setStrategy(new DefaultCallableStrategy());
}
* @param string $in
* @return mixed
public function resolve($in) {
return $this->getStrategy()->resolve($in);
public function resolveSafe($in) {
return $this->getStrategy()->resolveSafe($in);