function __construct($ApiKey, $url = null) { if ($url != null) { self::$_ApiUrl = $url; } self::$_ApiKey = $ApiKey; }