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
{
protected ?StrategyInterface $strategy = null;
public function setStrategy(StrategyInterface $strategy): StrategyAwareInterface
$this->strategy = $strategy;
return $this;
return $this
League\Route\Strategy\StrategyAwareTrait
League\Route\Strategy\StrategyAwareInterface
}
public function getStrategy(): ?StrategyInterface
return $this->strategy;