final class PrelandUri implements PrelandUrlInterface
{
public function __construct(private Record $preland, private Request $request)
{
}
public function printYourself(): string
{
// идет сборка урл с помощью стратегии.
return $printablePrelandUrl->printYourself();
}
}
return $prelandUrl->printYourSelf()