kuvalda-api/schema/ApiTypes.php

20 lines
413 B
PHP
Raw Permalink Normal View History

2024-11-20 15:32:19 +03:00
<?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());
}
}