public function __construct($attributes = null, array $options = []) { parent::__construct($attributes, $options); $this->site = $options['site']; $this->url = "sites/{$this->site->id}/new-relic"; }