forked from aces/Loris
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
27 additions
and
29 deletions.
There are no files selected for viewing
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<?php declare(strict_types=1); | ||
|
||
namespace LORIS\biobank; | ||
|
||
/** | ||
* HasSubEndpoints interface to be implemented by endpoints that needs to route to a | ||
* sub-endpoint. | ||
* | ||
* @package LORIS | ||
* @subpackage Biobank | ||
* @author Henri Rabalais <[email protected]> | ||
* @license https://www.gnu.org/licenses/gpl-3.0.html GNU General Public | ||
* License | ||
*/ | ||
interface HasSubEndpoints | ||
{ | ||
/** | ||
* Returns a sub-endpoint for a given subpath | ||
* | ||
* @param string $subpath The subpath to check for a sub-endpoint. | ||
* | ||
* @return Endpoint The sub-endpoint for the subpath | ||
*/ | ||
public function getSubEndpoint(string $subpath): Endpoint; | ||
} |
This file was deleted.
Oops, something went wrong.