20250622#4
This commit is contained in:
@@ -23,7 +23,7 @@ abstract class AbstractMysqlRepository implements MysqlRepositoryInterface {
|
|||||||
|
|
||||||
public function __construct(
|
public function __construct(
|
||||||
public readonly MysqlStorageInterface $mysql,
|
public readonly MysqlStorageInterface $mysql,
|
||||||
protected readonly ObjectDataMapper $mapper
|
public readonly ObjectDataMapper $mapper
|
||||||
) {}
|
) {}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -12,7 +12,10 @@ use Rmphp\ODM\ObjectDataMapper;
|
|||||||
use Rmphp\Storage\Repository\EntityInterface;
|
use Rmphp\Storage\Repository\EntityInterface;
|
||||||
use Rmphp\Storage\Repository\RepositoryException;
|
use Rmphp\Storage\Repository\RepositoryException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @property MysqlStorageInterface $mysql
|
||||||
|
* @property ObjectDataMapper $mapper
|
||||||
|
*/
|
||||||
interface MysqlRepositoryInterface {
|
interface MysqlRepositoryInterface {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user