Method | Description | |
---|---|---|
it_is_initializable ( ) | ||
it_should_autocreate_and_set_the_parent_document ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, |
||
it_should_return_early_if_force_is_false_and_subject_already_has_a_parent ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, |
||
it_should_set_the_parent_document ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, |
||
it_should_set_the_parent_document_if_force_is_true_and_the_parent_is_already_set ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, |
||
it_should_throw_an_exception_if_no_parent_mapping_exists ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, |
||
it_should_throw_an_exception_if_the_parent_does_not_exist_and_autocreate_is_false ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, |
||
let ( Doctrine\ODM\PHPCR\DocumentManagerInterface $documentManager ) |
public it_should_autocreate_and_set_the_parent_document ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, |
||
$event | Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent | |
$documentMetadata | ||
$documentManager | Doctrine\ODM\PHPCR\DocumentManagerInterface | |
$session | PHPCR\SessionInterface | |
$node | PHPCR\NodeInterface |
public it_should_return_early_if_force_is_false_and_subject_already_has_a_parent ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, |
||
$event | Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent | |
$documentMetadata | ||
$documentManager | Doctrine\ODM\PHPCR\DocumentManagerInterface |
public it_should_set_the_parent_document ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, |
||
$event | Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent | |
$documentMetadata | ||
$documentManager | Doctrine\ODM\PHPCR\DocumentManagerInterface |
public it_should_set_the_parent_document_if_force_is_true_and_the_parent_is_already_set ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, |
||
$event | Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent | |
$documentMetadata | ||
$documentManager | Doctrine\ODM\PHPCR\DocumentManagerInterface |
public it_should_throw_an_exception_if_no_parent_mapping_exists ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, |
||
$event | Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent | |
$documentMetadata | ||
$documentManager | Doctrine\ODM\PHPCR\DocumentManagerInterface |
public it_should_throw_an_exception_if_the_parent_does_not_exist_and_autocreate_is_false ( Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, |
||
$event | Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent | |
$documentMetadata | ||
$documentManager | Doctrine\ODM\PHPCR\DocumentManagerInterface |
public let ( Doctrine\ODM\PHPCR\DocumentManagerInterface $documentManager ) | ||
$documentManager | Doctrine\ODM\PHPCR\DocumentManagerInterface |