server/src/app/Models/CocoonDocument.php
author nowmad@23.1.168.192.in-addr.arpa
Fri, 22 Jan 2016 14:31:17 +0100
changeset 101 9fb98e5f1b42
parent 18 f2a40bbc27f6
permissions -rw-r--r--
merge two heads

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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