server/src/app/Models/CocoonDocument.php
author ymh <ymh.work@gmail.com>
Fri, 03 Feb 2017 16:35:09 +0100
changeset 496 a53762d61c06
parent 18 f2a40bbc27f6
permissions -rw-r--r--
Improve filters on themes, allow to filter by lexvo + olac. Bug #0025934

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

class CocoonDocument extends Model
{
    public function revisions() {
        return $this->hasMany('CorpusParole\Models\CocoonDocument', 'document_id');
    }
}