This commit is contained in:
Yuri Kuznetsov
2020-07-11 23:35:58 +03:00
parent 460f3fcfd6
commit e63d60ab3d
2 changed files with 0 additions and 10 deletions
-5
View File
@@ -1207,9 +1207,4 @@ abstract class BaseMapper implements Mapper
}
abstract protected function toDb(string $attribute);
public function setCollectionClass(string $collectionClass)
{
$this->collectionClass = $collectionClass;
}
}
-5
View File
@@ -142,11 +142,6 @@ interface Mapper
*/
public function delete(Entity $entity) : bool;
/**
* Set a class name of a a model collection that will be returned by operations such as select.
*/
public function setCollectionClass(string $collectionClass);
/**
* Delete a record from DB.
*/