-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: move UserGroup parts of MiniOrange integration into separat…
…e UserGroup feature (#1250)
- Loading branch information
Showing
18 changed files
with
519 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 15 additions & 0 deletions
15
library/Helper/Term/Contracts/CreateOrGetTermIdFromString.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?php | ||
|
||
namespace Municipio\Helper\Term\Contracts; | ||
|
||
interface CreateOrGetTermIdFromString | ||
{ | ||
/** | ||
* Create or get a term from a string. | ||
* | ||
* @param string $termString The term string. | ||
* @param string $taxonomy The taxonomy. | ||
* @return int|null The term ID or null if the term could not be created or found. | ||
*/ | ||
public function createOrGetTermIdFromString(string $termString, string $taxonomy): ?int; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.