PHP 클래스 spec\Sylius\Bundle\ResourceBundle\Doctrine\ODM\PHPCR\EventListener\NameResolverListenerSpec

저자: Daniel Leech ([email protected])
상속: extends PhpSpec\ObjectBehavior
파일 보기 프로젝트 열기: sylius/sylius

공개 메소드들

메소드 설명
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 )

메소드 상세

it_is_initializable() 공개 메소드

public it_is_initializable ( )

it_should_auto_increment_the_name_if_a_conflict_exists() 공개 메소드

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 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 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 let ( Doctrine\ODM\PHPCR\DocumentManagerInterface $documentManager )
$documentManager Doctrine\ODM\PHPCR\DocumentManagerInterface