20250327#1

This commit is contained in:
User
2025-03-27 00:02:46 +03:00
parent 2beff209de
commit 10f6d62b43
3 changed files with 27 additions and 14 deletions

View File

@@ -25,19 +25,19 @@ interface RepositoryInterface {
/**
* @param string $class
* @param array|object $data
* @param bool $onlyNotNull
* @return mixed
* @throws RepositoryException
*/
public function createFromData(string $class, array|object $data) : mixed;
public function createFromData(string $class, array|object $data, bool $onlyNotNull = false) : mixed;
/**
* @param object $object
* @param array|object $data
* @param bool $onlyNotNull
* @return mixed
* @throws RepositoryException
*/
public function updateFromData(object $object, array|object $data) : mixed;
public function updateFromData(object $object, array|object $data, bool $onlyNotNull = false) : mixed;
/**