1
0
mirror of synced 2025-02-09 00:39:25 +03:00

#1354 - DDC-3644 - s/protected/private

This commit is contained in:
Marco Pivetta 2015-11-05 00:11:43 -05:00
parent 1587aac4ff
commit a7ded16204

View File

@ -203,7 +203,7 @@ class OneToManyPersister extends AbstractCollectionPersister
*
* @throws \Doctrine\DBAL\DBALException
*/
protected function deleteEntityCollection(PersistentCollection $collection)
private function deleteEntityCollection(PersistentCollection $collection)
{
$mapping = $collection->getMapping();
$identifier = $this->uow->getEntityIdentifier($collection->getOwner());
@ -235,7 +235,7 @@ class OneToManyPersister extends AbstractCollectionPersister
*
* @throws \Doctrine\DBAL\DBALException
*/
protected function deleteJoinedEntityCollection(PersistentCollection $collection)
private function deleteJoinedEntityCollection(PersistentCollection $collection)
{
$mapping = $collection->getMapping();
$sourceClass = $this->em->getClassMetadata($mapping['sourceEntity']);