You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
803 B
PHTML
25 lines
803 B
PHTML
6 years ago
|
<?php
|
||
|
|
||
|
|
||
|
namespace BitCommunism\Doctrine;
|
||
|
|
||
|
|
||
|
interface EntityManager
|
||
|
{
|
||
|
public function getResponsibleEntityManager(string $name): DefaultEntityManager;
|
||
|
public function find($className, $id);
|
||
|
public function persist($object);
|
||
|
public function remove($object);
|
||
|
public function merge($object);
|
||
|
public function clear($objectName = null);
|
||
|
public function detach($object);
|
||
|
public function refresh($object);
|
||
|
public function flush($entity = null);
|
||
|
public function getRepository($className);
|
||
|
public function getClassMetadata($className);
|
||
|
public function initializeObject($object);
|
||
|
public function contains($object);
|
||
|
public function close();
|
||
|
public function copy($entity, $deep = false);
|
||
|
public function lock($entity, $lockMode, $lockVersion = null);
|
||
|
}
|