Advertisement
Guest User

Untitled

a guest
Jul 17th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.21 KB | None | 0 0
  1. <?php namespace App\Models\Doctrine\AdWords;
  2.  
  3. use Doctrine\ORM\Mapping as ORM;
  4.  
  5. /**
  6.  * @ORM\Entity
  7.  *
  8.  * @ORM\HasLifecycleCallbacks
  9.  */
  10. class KeywordReport extends PerformanceReport
  11. {
  12.     /**
  13.      * @var int|null
  14.      */
  15.     public $keywordId;
  16.  
  17.     /**
  18.      * @var string|null
  19.      */
  20.     public $criteria;
  21.  
  22.     /**
  23.      * @var string|null
  24.      */
  25.     public $keywordMatchType;
  26.  
  27.     /**
  28.      * @var int|null
  29.      */
  30.     public $averageCpc;
  31.  
  32.     public function __construct(
  33.         string $date,
  34.         int $clicks,
  35.         int $cost,
  36.         int $impressions,
  37.         float $conversions,
  38.         string $currency,
  39.         float $averageCost,
  40.         float $conversionRate,
  41.         float $conversionValue,
  42.         float $costPerConversion,
  43.         float $clickThroughRate,
  44.         float $valuePerConversion
  45.     ) {
  46.         parent::__construct(
  47.             $date,
  48.             $clicks,
  49.             $cost,
  50.             $impressions,
  51.             $conversions,
  52.             $currency,
  53.             $averageCost,
  54.             $conversionRate,
  55.             $conversionValue,
  56.             $costPerConversion,
  57.             $clickThroughRate,
  58.             $valuePerConversion
  59.         );
  60.     }
  61. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement