Ipunkt\LaravelAnalytics\Data\Campaign::getId PHP 메소드

getId() 공개 메소드

returns Id
public getId ( ) : string
리턴 string
    public function getId()
    {
        return $this->id;
    }

Usage Example

예제 #1
0
 /**
  * returns the rendered id
  *
  * @return string
  */
 private function renderId()
 {
     $id = $this->campaign->getId();
     return empty($id) ? '' : "ga('set', 'campaignId', '{$id}');";
 }