server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Thu, 16 Feb 2017 18:22:16 +0100
changeset 515 557cca5cb813
parent 18 f2a40bbc27f6
permissions -rw-r--r--
move template compiler into dependencies

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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