server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Mon, 28 Nov 2016 17:04:56 +0100
changeset 450 7bddb57bf806
parent 18 f2a40bbc27f6
permissions -rw-r--r--
avoid use unsupported Reflect api

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

class CocoonRevision extends Model
{
    public function document() {
        return $this->belongsTo('CorpusParole\Models\CocoonDocument');
    }
}