aboutsummaryrefslogtreecommitdiff
path: root/src/controllers
diff options
context:
space:
mode:
authorCamil Staps2015-05-24 23:37:46 +0200
committerCamil Staps2015-05-24 23:37:46 +0200
commit3a75a4381f0c35bff9bdd67f056f2b2b5334d1b4 (patch)
tree7fc5ab98cde69ae234a5fb22648323e1e08668fb /src/controllers
parentUser id -> email in other classes (diff)
license in all files
Diffstat (limited to 'src/controllers')
-rw-r--r--src/controllers/BaseController.php18
-rw-r--r--src/controllers/BotController.php18
-rw-r--r--src/controllers/CompetitionController.php18
-rw-r--r--src/controllers/CompetitionTypeController.php18
-rw-r--r--src/controllers/GameController.php18
-rw-r--r--src/controllers/ParticipantController.php18
-rw-r--r--src/controllers/PasswordReminderController.php20
-rw-r--r--src/controllers/UserController.php18
-rw-r--r--src/controllers/UserTokenController.php18
9 files changed, 160 insertions, 4 deletions
diff --git a/src/controllers/BaseController.php b/src/controllers/BaseController.php
index 78bda5f..9df85f1 100644
--- a/src/controllers/BaseController.php
+++ b/src/controllers/BaseController.php
@@ -1,4 +1,22 @@
<?php
+/**
+ * RESTful PHP API for Botleagues
+ * 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 CamilStaps\BotleaguesApi\Controllers;
use \Dingo\Api\Routing\Helpers;
diff --git a/src/controllers/BotController.php b/src/controllers/BotController.php
index 89aef8c..dd1b61b 100644
--- a/src/controllers/BotController.php
+++ b/src/controllers/BotController.php
@@ -1,4 +1,22 @@
<?php
+/**
+ * RESTful PHP API for Botleagues
+ * 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 CamilStaps\BotleaguesApi\Controllers;
use CamilStaps\BotleaguesApi\Database\Bot;
diff --git a/src/controllers/CompetitionController.php b/src/controllers/CompetitionController.php
index f54c11d..9a22b3d 100644
--- a/src/controllers/CompetitionController.php
+++ b/src/controllers/CompetitionController.php
@@ -1,4 +1,22 @@
<?php
+/**
+ * RESTful PHP API for Botleagues
+ * 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 CamilStaps\BotleaguesApi\Controllers;
use CamilStaps\BotleaguesApi\Database\Competition;
diff --git a/src/controllers/CompetitionTypeController.php b/src/controllers/CompetitionTypeController.php
index 993973c..ba77c35 100644
--- a/src/controllers/CompetitionTypeController.php
+++ b/src/controllers/CompetitionTypeController.php
@@ -1,4 +1,22 @@
<?php
+/**
+ * RESTful PHP API for Botleagues
+ * 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 CamilStaps\BotleaguesApi\Controllers;
use CamilStaps\BotleaguesApi\Database\CompetitionType;
diff --git a/src/controllers/GameController.php b/src/controllers/GameController.php
index 0fbcc1b..e8eba2c 100644
--- a/src/controllers/GameController.php
+++ b/src/controllers/GameController.php
@@ -1,4 +1,22 @@
<?php
+/**
+ * RESTful PHP API for Botleagues
+ * 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 CamilStaps\BotleaguesApi\Controllers;
use CamilStaps\BotleaguesApi\Database\Game;
diff --git a/src/controllers/ParticipantController.php b/src/controllers/ParticipantController.php
index 11d7dd9..471b303 100644
--- a/src/controllers/ParticipantController.php
+++ b/src/controllers/ParticipantController.php
@@ -1,4 +1,22 @@
<?php
+/**
+ * RESTful PHP API for Botleagues
+ * 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 CamilStaps\BotleaguesApi\Controllers;
use CamilStaps\BotleaguesApi\Database\Participant;
diff --git a/src/controllers/PasswordReminderController.php b/src/controllers/PasswordReminderController.php
index 569973b..c4422c3 100644
--- a/src/controllers/PasswordReminderController.php
+++ b/src/controllers/PasswordReminderController.php
@@ -1,9 +1,21 @@
<?php
/**
- * Created by PhpStorm.
- * User: camilstaps
- * Date: 13-5-15
- * Time: 13:13
+ * RESTful PHP API for Botleagues
+ * 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 CamilStaps\BotleaguesApi\Controllers;
diff --git a/src/controllers/UserController.php b/src/controllers/UserController.php
index 9f70f58..6a601b4 100644
--- a/src/controllers/UserController.php
+++ b/src/controllers/UserController.php
@@ -1,4 +1,22 @@
<?php
+/**
+ * RESTful PHP API for Botleagues
+ * 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 CamilStaps\BotleaguesApi\Controllers;
use CamilStaps\BotleaguesApi\Database\User;
diff --git a/src/controllers/UserTokenController.php b/src/controllers/UserTokenController.php
index fe0d37d..916ae05 100644
--- a/src/controllers/UserTokenController.php
+++ b/src/controllers/UserTokenController.php
@@ -1,4 +1,22 @@
<?php
+/**
+ * RESTful PHP API for Botleagues
+ * 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 CamilStaps\BotleaguesApi\Controllers;
use CamilStaps\BotleaguesApi\Database\UserToken;