Skip to content

Commit

Permalink
Because the word Institution is a long awkward word to write in a hur…
Browse files Browse the repository at this point in the history
…ry, lazy people like me can use `School`
  • Loading branch information
fredbradley committed Nov 11, 2021
1 parent 48119a8 commit 7e1ee83
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions src/Facade.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*
Expand Down

0 comments on commit 7e1ee83

Please sign in to comment.