server/src/app/Models/CocoonDocument.php
author Chloe Laisne <chloe.laisne@gmail.com>
Sun, 25 Sep 2016 12:58:15 +0200
changeset 288 f2b77873a156
parent 18 f2a40bbc27f6
permissions -rw-r--r--
Notice link color and underline

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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