1
0
mirror of synced 2025-02-12 10:19:24 +03:00

[2.0] added load() method

This commit is contained in:
piccoloprincipe 2009-07-17 13:41:03 +00:00
parent 52d55da356
commit 6e4c24684c
4 changed files with 9 additions and 14 deletions

View File

@ -386,5 +386,5 @@ abstract class AssociationMapping
* @param object $targetEntity * @param object $targetEntity
* @param EntityManager $em * @param EntityManager $em
*/ */
public function load($owningEntity, $targetEntity, $em) {} abstract public function load($owningEntity, $targetEntity, $em);
} }

View File

@ -138,9 +138,9 @@ class ManyToManyMapping extends AssociationMapping
return $this->targetKeyColumns; return $this->targetKeyColumns;
} }
public function lazyLoadFor($entity, $entityManager) public function load($owningEntity, $targetEntity, $em)
{ {
//TODO throw new Exception('Not yet implemented.');
} }
/** /**

View File

@ -97,13 +97,8 @@ class OneToManyMapping extends AssociationMapping
return true; return true;
} }
/** public function load($owningEntity, $targetEntity, $em)
*
* @param <type> $entity
* @override
*/
public function lazyLoadFor($entity, $entityManager)
{ {
throw new Exception('Not yet implemented.');
} }
} }