server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Thu, 11 Feb 2016 15:42:27 +0100
changeset 121 08c99d286e7c
parent 18 f2a40bbc27f6
permissions -rw-r--r--
Remove Document def warning

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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