server/src/app/Models/CocoonDocument.php
author Chloe Laisne <chloe.laisne@gmail.com>
Mon, 26 Sep 2016 23:13:15 +0200
changeset 301 29b425234094
parent 18 f2a40bbc27f6
permissions -rw-r--r--
Transcript icon in tool container + Toggle transcript action on click

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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