server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Tue, 19 Jan 2016 19:16:23 +0100
changeset 108 be2d3b30b2e0
parent 18 f2a40bbc27f6
permissions -rw-r--r--
change isPartOf to edm:isGatheredInto for collections

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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