public function __construct(RouterInterface $router, OjsMailer $ojsMailer) { $this->router = $router; $this->ojsMailer = $ojsMailer; }