20 lines
413 B
PHP
20 lines
413 B
PHP
<?php
|
|
|
|
namespace dominion\api\schema;
|
|
|
|
trait ApiTypes
|
|
{
|
|
private static $resultSave;
|
|
private static $resultSaveError;
|
|
|
|
|
|
public static function resultSave()
|
|
{
|
|
return self::$resultSave ?: (self::$resultSave = new ResultSaveType());
|
|
}
|
|
public static function resultSaveError()
|
|
{
|
|
return self::$resultSaveError ?: (self::$resultSaveError = new ResultSaveErrorType());
|
|
}
|
|
}
|