From 7e1ee83fd9c1479fd0f69821d31e1de97c9ec540 Mon Sep 17 00:00:00 2001 From: Fred Bradley Date: Thu, 11 Nov 2021 15:14:45 +0000 Subject: [PATCH] Because the word Institution is a long awkward word to write in a hurry, lazy people like me can use `School` --- src/Facade.php | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/Facade.php b/src/Facade.php index 300072f..2bbca8d 100644 --- a/src/Facade.php +++ b/src/Facade.php @@ -32,6 +32,19 @@ public function institution(Institution $institution): self return $this; } + /** + * Because 'Institution' is such an awkwardly + * long word to write when you're in a hurry! + * + * @param \spkm\isams\Contracts\Institution $institution + * + * @return $this + */ + public function school(Institution $institution): self + { + return $this->institution($institution); + } + /** * @param string $controller *