コード例 #1
0
 public function testGetName()
 {
     $this->assertEquals('oro_address_collection', $this->type->getName());
 }
コード例 #2
0
 /**
  * {@inheritdoc}
  */
 public function setDefaultOptions(OptionsResolverInterface $resolver)
 {
     $resolver->setDefaults(['type' => AccountTypedAddressType::NAME, 'options' => ['data_class' => 'OroB2B\\Bundle\\AccountBundle\\Entity\\AccountAddress'], 'multiple' => true]);
     parent::setDefaultOptions($resolver);
 }