Cachet/app/models/MetricPoint.php
Graham Campbell 9d8d89248f CS fixes
2014-12-20 21:20:17 +00:00

14 lines
278 B
PHP

<?php
class MetricPoint extends Eloquent
{
/**
* A metric point belongs to a metric unit.
* @return \Illuminate\Database\Eloquent\Relations\BelongsTo
*/
public function metric()
{
return $this->belongsTo('Metric', 'id', 'metric_id');
}
}