aboutsummaryrefslogtreecommitdiff
path: root/app/Root.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Root.php')
-rw-r--r--app/Root.php37
1 files changed, 0 insertions, 37 deletions
diff --git a/app/Root.php b/app/Root.php
deleted file mode 100644
index 4e5e9df..0000000
--- a/app/Root.php
+++ /dev/null
@@ -1,37 +0,0 @@
-<?php
-/**
- * HebrewParseTrainer - practice Hebrew verbs
- * Copyright (C) 2015 Camil Staps <info@camilstaps.nl>
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation, either version 3 of the License, or
- * (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- */
-namespace HebrewParseTrainer;
-
-use Illuminate\Database\Eloquent\Model;
-
-class Root extends Model {
-
- protected $table = 'roots';
- public $timestamps = false;
- protected $fillable = ['root', 'root_kind_id'];
-
- public function kind() {
- return $this->belongsTo('HebrewParseTrainer\RootKind', 'root_kind_id');
- }
-
- public function verbs() {
- return $this->hasMany('HebrewParseTrainer\Verb', 'root', 'root');
- }
-
-}