/**
  * @return array
  */
 protected function getExtensions()
 {
     $entityIdentifierType = new EntityIdentifierType([1 => $this->getEntity(self::ACCOUNT_CLASS, 1), 2 => $this->getEntity(self::ACCOUNT_CLASS, 2), 3 => $this->getEntity(self::ACCOUNT_GROUP_CLASS, 3), 4 => $this->getEntity(self::ACCOUNT_GROUP_CLASS, 4)]);
     return [new PreloadedExtension([$entityIdentifierType->getName() => $entityIdentifierType], [])];
 }
 /**
  * @return array
  */
 protected function getExtensions()
 {
     $entityIdentifierType = new EntityIdentifierType([]);
     return [new PreloadedExtension([$entityIdentifierType->getName() => $entityIdentifierType], [])];
 }
예제 #3
0
 /**
  * @return array
  */
 protected function getExtensions()
 {
     $currencySelectType = new CurrencySelectionTypeStub();
     $entityIdentifierType = new EntityIdentifierType([1 => $this->getEntity(self::CUSTOMER_CLASS, 1), 2 => $this->getEntity(self::CUSTOMER_CLASS, 2), 3 => $this->getEntity(self::CUSTOMER_GROUP_CLASS, 3), 4 => $this->getEntity(self::CUSTOMER_GROUP_CLASS, 4), 5 => $this->getEntity(self::WEBSITE_CLASS, 5), 6 => $this->getEntity(self::WEBSITE_CLASS, 6)]);
     return [new PreloadedExtension([$currencySelectType->getName() => $currencySelectType, $entityIdentifierType->getName() => $entityIdentifierType], [])];
 }
 /**
  * @return array
  */
 protected function getExtensions()
 {
     $entityIdentifierType = new EntityIdentifierType([]);
     $accountSelectType = new AccountSelectTypeStub($this->getAccounts(), AccountSelectType::NAME);
     return [new PreloadedExtension([$entityIdentifierType->getName() => $entityIdentifierType, $accountSelectType->getName() => $accountSelectType, 'oro_acl_collection' => new PrivilegeCollectionType(), AclPriviledgeTypeStub::NAME => new AclPriviledgeTypeStub()], []), new ValidatorExtension(Validation::createValidator())];
 }