public function with($data)
	{
		if (get_parent_class($data) === \Illuminate\Database\Eloquent\Model::class) {
			$this->data = [
				'source_id' => $data->id,
				'status' => $data->status
			];
		}

		else {
			$this->data = $data;
		}

		return $this;
	}
public function with($data)
	{
		if (get_parent_class($data) === \Illuminate\Database\Eloquent\Model::class) {
			$this->data = [
				'source_id' => $data->id,
				'status' => $data->status
			];
		}

		else {
			$this->data = $data;
		}

		return $this;
	}
public function with ( $ data ) { if ( get_parent_class ( $ data ) === \ Illuminate \ Database \ Eloquent \ Model :: class ) { $ this -> data = [ 'source_id' => $ data -> id , 'status' => $ data -> status ] ; } else { $ this -> data = $ data ; } return $ this ; }
Set the notification data.

@param  mixed $data

@return self
Set the notification data .