server/src/app/Models/CocoonRevision.php
author nowmad@23.1.168.192.in-addr.arpa
Fri, 22 Jan 2016 16:03:37 +0100
changeset 104 bd3747a1cd5f
parent 18 f2a40bbc27f6
permissions -rw-r--r--
update Readme and change baseStatic value with php function in corpus.module

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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