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.
[API] Project Dicoms endpoint works with ObjectProvisioner
- Loading branch information
Showing
4 changed files
with
50 additions
and
134 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?php declare(strict_types=1); | ||
/** | ||
* PHP Version 7 | ||
* | ||
* @category API | ||
* @package Loris | ||
* @author Simon Pelletier <simon.pelletier@mcin.ca> | ||
* @license http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 | ||
* @link https://www.github.com/aces/Loris/ | ||
*/ | ||
|
||
namespace LORIS\api\Models; | ||
|
||
/** | ||
* A ProjectDicomsObject contains values from an image of a project. | ||
* | ||
* @category API | ||
* @package Loris | ||
* @author Simon Pelletier <simon.pelletier@mcin.ca> | ||
* @license http://www.gnu.org/licenses/gpl-3.0.txt GPLv3 | ||
* @link https://www.github.com/aces/Loris/ | ||
*/ | ||
class ProjectDicomsObject implements \LORIS\Data\DataInstance | ||
{ | ||
/** | ||
* Implements \LORIS\Data\DataInstance interface for this object. | ||
* | ||
* @return array the object data. | ||
*/ | ||
public function jsonSerialize() : array | ||
{ | ||
return get_object_vars($this); | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
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