public function __construct($config = null) { if (!$config) { $config = TinyPass::config(); } $this->config = $config; }
public function __construct($config = null) { $this->config = TinyPass::config(); if ($config) { $this->config = $config; } $this->tokens = new TPAccessTokenList(); }
function __construct(TPOffer $offer, array $options = null) { $this->config = TinyPass::config(); $this->primaryOffer = $offer; if ($options == null) { $options = array(); } $this->options = $options; }
function __construct() { $this->config = TinyPass::config(); }