Skip to content

Commit

Permalink
Merge pull request #28 from fredbradley/master
Browse files Browse the repository at this point in the history
Because the word Institution is a long awkward word to write
  • Loading branch information
fredbradley authored Nov 11, 2021
2 parents 31202a1 + 7e1ee83 commit 76a6f7b
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 @@ -31,6 +31,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
* @return $this
Expand Down

0 comments on commit 76a6f7b

Please sign in to comment.