20250113#1

This commit is contained in:
User committed 2025-01-13 04:23:59 +03:00
1 parent 448128d228
commit ac572cc92b
13 files changed
+409 -23

No files matched your search

+39
View File
@@ -0,0 +1,39 @@
<?php
/**
* Created by PhpStorm.
* User: Zuev Yuri
* Date: 12.01.2025
* Time: 21:48
*/
namespace Rmphp\Storage;
use Rmphp\Storage\Entity\EntityInterface;
interface RepositoryInterface {
/**
* @param string $class
* @param $data
* @return object
* @throws RepositoryException
*/
public function createFromData(string $class, $data) : mixed;
/**
* @param object $class
* @param callable|null $method
* @return array
*/
public function getAllProperties(object $class, callable $method = null) : array;
/**
* @param object $class
* @param callable|null $method
* @return array
*/
public function getProperties(object $class, callable $method = null) : array;
}