server/src/app/Models/CocoonRevision.php
author nowmad@nowmads-macbook-pro.local
Thu, 07 Jan 2016 17:46:50 +0100
changeset 81 848e4a5ad4d9
parent 18 f2a40bbc27f6
permissions -rw-r--r--
update date params to be an array of date instead of a string

<?php

namespace CorpusParole\Models;

use Illuminate\Database\Eloquent\Model;

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