__construct() public method

Constructor
public __construct ( Yoast_Product $product, Yoast_License_Manager $license_manager )
$product Yoast_Product The product.
$license_manager Yoast_License_Manager The License Manager.
 /**
  * Constructor
  *
  * @param string $api_url
  * @param string $item_name
  * @param string $license_key
  * @param string $slug
  * @param string $theme_version
  * @param string $author (optional)
  */
 public function __construct(Yoast_Product $product, $license_key)
 {
     parent::__construct($product, $license_key);
     $this->response_key = $this->product->get_slug() . '-update-response';
     // setup hooks
     $this->setup_hooks();
 }
 /**
  * Constructor
  *
  * @param string $api_url
  * @param string $item_name
  * @param string $license_key
  * @param string $slug The path to the main plugin file, relative to plugins dir
  * @param string $version
  * @param string $author (optional)
  * @param string $text_domain
  */
 public function __construct(Yoast_Product $product, $license_key)
 {
     parent::__construct($product, $license_key);
     // setup hooks
     $this->setup_hooks();
 }