Skip to content

Commit

Permalink
Add getHostname
Browse files Browse the repository at this point in the history
  • Loading branch information
mattamon committed Jan 23, 2025
1 parent aac7822 commit ed6c8e6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Lib/ToolResolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,9 @@ public function getMail(array|string|null $recipients = null, ?string $subject =
{
return Tool::getMail($recipients, $subject);
}

public function getHostname(): ?string
{
return Tool::getHostname();
}
}
2 changes: 2 additions & 0 deletions src/Lib/ToolResolverInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,6 @@ public function getDefaultLanguage(): ?string;
* @throws Exception
*/
public function getMail(array|string|null $recipients = null, ?string $subject = null): Mail;

public function getHostname(): ?string;
}

0 comments on commit ed6c8e6

Please sign in to comment.