server/src/app/Models/CocoonRevision.php
author ymh <ymh.work@gmail.com>
Mon, 30 May 2016 00:32:20 +0200
changeset 164 5f1e1cc17e8a
parent 18 f2a40bbc27f6
permissions -rw-r--r--
add mirage fixtures and api path for testing in app client

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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