protected assertTagExists ( string $id ) : void | ||
$id | string | |
return | void |
protected function assertTagExists($id)
{
if (!array_key_exists($id, $this->tags)) {
throw new InvalidDeviseKeyException("Could not find a registered tag with id: {$id}");
}
}