public function __construct(Translation $translation = null, RuleSet $ruleSet = null) { $loader = new TranslationLoader(); $this->translation = $translation ?: $loader->loadDefault(); $this->ruleSet = $ruleSet ?: new DefaultRuleSet(); }
public function __construct(Translation $translation = null, RuleSet $ruleSet = null) { $loader = new TranslationLoader(); $this->translation = $translation ?: $loader->loadDefault(); $this->ruleSet = $ruleSet ?: new DefaultRuleSet(); }