public function __construct($options) { if (empty($options) || empty($options['api_key'])) { throw new Exception(__('Postmark API key not set', 'falcon')); } $this->api_key = $options['api_key']; }