__construct() публичный Метод

Constructor
public __construct ( Yoast_Product $product )
$product Yoast_Product
 /**
  * Constructor
  *
  * @param Yoast_Product $product
  */
 public function __construct(Yoast_Product $product)
 {
     parent::__construct($product);
     // Check if plugin is network activated. We should use site(wide) options in that case.
     if (is_admin() && is_multisite()) {
         if (!function_exists('is_plugin_active_for_network')) {
             require_once ABSPATH . '/wp-admin/includes/plugin.php';
         }
         $this->is_network_activated = is_plugin_active_for_network($product->get_file());
     }
 }
 public function __construct()
 {
     $this->product = new Yoast_Product_Double();
     parent::__construct($this->product);
 }
 /**
  * Constructor
  *
  * @param string $api_url     The URL running the EDD API
  * @param string $item_name   The item name in the EDD shop
  * @param string $item_url    The absolute url on which users can purchase a license
  * @param string $slug        The theme slug
  * @param string $version     The theme version
  * @param string $text_domain The text domain used for translating strings (optional)
  * @param string $author      The theme author (optional)
  */
 public function __construct(Yoast_Product $product)
 {
     // store the license page url
     $license_page = 'themes.php?page=theme-license';
     parent::__construct($product);
 }