Cachet/app/models/MetricPoint.php
Graham Campbell 509f582539 CS fixes
2014-12-30 18:19:22 +00:00

15 lines
285 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');
}
}