for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php declare(strict_types=1);
namespace League\Route\Strategy;
trait StrategyAwareTrait
{
/**
* @var \League\Route\Strategy\StrategyInterface
*/
protected $strategy;
* {@inheritdoc}
public function setStrategy(StrategyInterface $strategy) : StrategyAwareInterface
$this->strategy = $strategy;
return $this;
}
public function getStrategy() : ?StrategyInterface
return $this->strategy;