public function __construct(array $gateways = array(), LoggerInterface $logger = null) { parent::__construct($gateways); $this->logger = $logger; }