PHP Class spec\Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\EventListener\NameResolverListenerSpec

Author: Daniel Leech ([email protected])
Inheritance: extends PhpSpec\ObjectBehavior
Afficher le fichier Open project: sylius/sylius

Méthodes publiques

Méthode Description
it_is_initializable ( )
it_should_auto_increment_the_name_if_a_conflict_exists ( Doctrine\ODM\PHPCR\DocumentManagerInterface $documentManager, Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, ClassMetadata $metadata, PHPCR\NodeInterface $node )
it_should_retain_the_original_name_when_no_conflict_exists ( Doctrine\ODM\PHPCR\DocumentManagerInterface $documentManager, Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, ClassMetadata $metadata, PHPCR\NodeInterface $node )
it_throws_an_exception_when_the_generator_type_is_not_parent ( Doctrine\ODM\PHPCR\DocumentManagerInterface $documentManager, Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, ClassMetadata $metadata )
let ( Doctrine\ODM\PHPCR\DocumentManagerInterface $documentManager )

Method Details

it_is_initializable() public méthode

public it_is_initializable ( )

it_should_auto_increment_the_name_if_a_conflict_exists() public méthode

public it_should_auto_increment_the_name_if_a_conflict_exists ( Doctrine\ODM\PHPCR\DocumentManagerInterface $documentManager, Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, ClassMetadata $metadata, PHPCR\NodeInterface $node )
$documentManager Doctrine\ODM\PHPCR\DocumentManagerInterface
$event Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent
$metadata Doctrine\ODM\PHPCR\Mapping\ClassMetadata
$node PHPCR\NodeInterface

it_should_retain_the_original_name_when_no_conflict_exists() public méthode

public it_should_retain_the_original_name_when_no_conflict_exists ( Doctrine\ODM\PHPCR\DocumentManagerInterface $documentManager, Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, ClassMetadata $metadata, PHPCR\NodeInterface $node )
$documentManager Doctrine\ODM\PHPCR\DocumentManagerInterface
$event Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent
$metadata Doctrine\ODM\PHPCR\Mapping\ClassMetadata
$node PHPCR\NodeInterface

it_throws_an_exception_when_the_generator_type_is_not_parent() public méthode

public it_throws_an_exception_when_the_generator_type_is_not_parent ( Doctrine\ODM\PHPCR\DocumentManagerInterface $documentManager, Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent $event, ClassMetadata $metadata )
$documentManager Doctrine\ODM\PHPCR\DocumentManagerInterface
$event Sylius\Bundle\ResourceBundle\Event\ResourceControllerEvent
$metadata Doctrine\ODM\PHPCR\Mapping\ClassMetadata

let() public méthode

public let ( Doctrine\ODM\PHPCR\DocumentManagerInterface $documentManager )
$documentManager Doctrine\ODM\PHPCR\DocumentManagerInterface