public function __construct($callback = null, FormaterInterface $formater = null) { parent::__construct($formater); if (null !== $callback) { $this->setCallback($callback); } }
public function __construct($from, $recipients, $subject, FormaterInterface $formater = null) { if (null === $formater) { $formater = new BlockFormater(); } parent::__construct($formater); $this->setFrom($from)->setRecipients($recipients)->setSubject($subject); }
public function __construct($protocol = self::PROTOCOLE_GNTP, FormaterInterface $formater = null) { parent::__construct($formater); $this->setProtocol($protocol); }
public function __construct($stream = 'php://stdout', FormaterInterface $formater = null) { parent::__construct($formater); $this->setStream($stream); }