Skip to content

Commit f1d80a4

Browse files
authored
Merge pull request #11 from vienthuong/1.3.1
Release 1.3.1 - Bug fixed
2 parents d002908 + 2ac733f commit f1d80a4

File tree

53 files changed

+415
-733
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+415
-733
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to `shopware-php-sdk` will be documented in this file.
44

55
Updates should follow the [Keep a CHANGELOG](http://keepachangelog.com/) principles.
66

7+
### 1.3.1
8+
- [Hydrate Bug fixed](https://github.com/vienthuong/shopware-php-sdk/issues/10)
9+
- Update Latest DAL Classes
10+
711
### 1.3.0
812
- PHP 8 compatibility
913

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,8 @@ composer require vin-sw/shopware-sdk
3333
- Webhook authentication
3434
- Webhook receiver
3535

36+
- If you're using Laravel 8, consider check this out [Laravel Shopware SDK Adapter](https://github.com/Shape-and-Shift/shopware-laravel-sdk)
37+
3638
## Usage
3739

3840
More in the examples folder, for integrating the sdk in an App, have a look at this [repository](https://github.com/vienthuong/AppExample)

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "A PHP SDK for Shopware 6 Platform",
44
"type": "library",
55
"license": "MIT",
6-
"version": "1.3.0",
6+
"version": "1.3.1",
77
"authors": [
88
{
99
"name": "vin",

src/Data/Entity/App/AppDefinition.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ public function getSchema() : Schema
6565
new Property('templates', 'association', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('cascade_delete', 1), ]), ['entity' => 'app_template', 'referenceField' => 'appId', 'localField' => 'id', 'relation' => 'one_to_many', ]),
6666
new Property('webhooks', 'association', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('cascade_delete', 1), ]), ['entity' => 'webhook', 'referenceField' => 'appId', 'localField' => 'id', 'relation' => 'one_to_many', ]),
6767
new Property('paymentMethods', 'association', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('set_null_on_delete', 1), ]), ['entity' => 'app_payment_method', 'referenceField' => 'appId', 'localField' => 'id', 'relation' => 'one_to_many', ]),
68+
new Property('cmsBlocks', 'association', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('cascade_delete', 1), ]), ['entity' => 'app_cms_block', 'referenceField' => 'appId', 'localField' => 'id', 'relation' => 'one_to_many', ]),
6869
new Property('createdAt', 'date', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('required', 1), ]), []),
6970
new Property('updatedAt', 'date', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), ]), []),
7071
new Property('translated', 'json_object', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('computed', 1), new Flag('runtime', 1), ]), []),

src/Data/Entity/App/AppEntity.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
use Vin\ShopwareSdk\Data\Entity\AppTemplate\AppTemplateCollection;
1010
use Vin\ShopwareSdk\Data\Entity\Webhook\WebhookCollection;
1111
use Vin\ShopwareSdk\Data\Entity\AppPaymentMethod\AppPaymentMethodCollection;
12+
use Vin\ShopwareSdk\Data\Entity\AppCmsBlock\AppCmsBlockCollection;
1213
use Vin\ShopwareSdk\Data\Entity\Entity;
1314

1415
/**
@@ -73,4 +74,6 @@ class AppEntity extends Entity
7374
public ?WebhookCollection $webhooks = null;
7475

7576
public ?AppPaymentMethodCollection $paymentMethods = null;
77+
78+
public ?AppCmsBlockCollection $cmsBlocks = null;
7679
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php declare(strict_types=1);
2+
namespace Vin\ShopwareSdk\Data\Entity\AppCmsBlock;
3+
4+
use Vin\ShopwareSdk\Data\Entity\EntityCollection;
5+
6+
/**
7+
* Shopware Collection Mapping Class
8+
*
9+
* This class is generated dynamically following SW entities schema
10+
*
11+
* @method void add(AppCmsBlockEntity $entity)
12+
* @method void set(AppCmsBlockEntity $entity)
13+
* @method AppCmsBlockEntity[] getIterator()
14+
* @method AppCmsBlockEntity[] getElements()
15+
* @method AppCmsBlockEntity|null get(string $key)
16+
* @method AppCmsBlockEntity|null first()
17+
* @method AppCmsBlockEntity|null last()
18+
*/
19+
class AppCmsBlockCollection extends EntityCollection
20+
{
21+
public function getExpectedClass() : string
22+
{
23+
return AppCmsBlockEntity::class;
24+
}
25+
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
<?php declare(strict_types=1);
2+
namespace Vin\ShopwareSdk\Data\Entity\AppCmsBlock;
3+
4+
use Vin\ShopwareSdk\Data\Entity\EntityDefinition;
5+
use Vin\ShopwareSdk\Data\Schema\PropertyCollection;
6+
use Vin\ShopwareSdk\Data\Schema\FlagCollection;
7+
use Vin\ShopwareSdk\Data\Schema\Property;
8+
use Vin\ShopwareSdk\Data\Schema\Flag;
9+
use Vin\ShopwareSdk\Data\Schema\Schema;
10+
11+
/**
12+
* Shopware Definition Mapping Class
13+
*
14+
* This class is generated dynamically following SW entities schema
15+
*/
16+
class AppCmsBlockDefinition implements EntityDefinition
17+
{
18+
public const ENTITY_NAME = 'app_cms_block';
19+
20+
public function getEntityName() : string
21+
{
22+
return self::ENTITY_NAME;
23+
}
24+
25+
public function getEntityClass() : string
26+
{
27+
return AppCmsBlockEntity::class;
28+
}
29+
30+
public function getEntityCollection() : string
31+
{
32+
return AppCmsBlockCollection::class;
33+
}
34+
35+
public function getSchema() : Schema
36+
{
37+
return new Schema('app_cms_block', new PropertyCollection([
38+
new Property('id', 'uuid', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('primary_key', 1), new Flag('required', 1), ]), []),
39+
new Property('name', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('required', 1), ]), []),
40+
new Property('block', 'json_object', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('required', 1), ]), []),
41+
new Property('template', 'text', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('required', 1), new Flag('allow_html', 1), ]), []),
42+
new Property('styles', 'text', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('required', 1), ]), []),
43+
new Property('label', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('required', 1), new Flag('translatable', 1), ]), []),
44+
new Property('translations', 'association', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('cascade_delete', 1), new Flag('required', 1), ]), ['entity' => 'app_cms_block_translation', 'referenceField' => 'appCmsBlockId', 'localField' => 'id', 'relation' => 'one_to_many', ]),
45+
new Property('appId', 'uuid', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('required', 1), ]), []),
46+
new Property('app', 'association', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), ]), ['entity' => 'app', 'referenceField' => 'id', 'localField' => 'appId', 'relation' => 'many_to_one', ]),
47+
new Property('createdAt', 'date', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('required', 1), ]), []),
48+
new Property('updatedAt', 'date', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), ]), []),
49+
new Property('translated', 'json_object', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('computed', 1), new Flag('runtime', 1), ]), []),
50+
]));
51+
}
52+
}
Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php declare(strict_types=1);
2+
namespace Vin\ShopwareSdk\Data\Entity\AppCmsBlock;
3+
4+
use Vin\ShopwareSdk\Data\Entity\AppCmsBlockTranslation\AppCmsBlockTranslationCollection;
5+
use Vin\ShopwareSdk\Data\Entity\App\AppEntity;
6+
use Vin\ShopwareSdk\Data\Entity\Entity;
7+
8+
/**
9+
* Shopware Entity Mapping Class
10+
*
11+
* This class is generated dynamically following SW entities schema
12+
*/
13+
class AppCmsBlockEntity extends Entity
14+
{
15+
public ?string $name = null;
16+
17+
public ?array $block = null;
18+
19+
public ?string $template = null;
20+
21+
public ?string $styles = null;
22+
23+
public ?string $label = null;
24+
25+
public ?AppCmsBlockTranslationCollection $translations = null;
26+
27+
public ?string $appId = null;
28+
29+
public ?AppEntity $app = null;
30+
}
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<?php declare(strict_types=1);
2+
namespace Vin\ShopwareSdk\Data\Entity\AppCmsBlockTranslation;
3+
4+
use Vin\ShopwareSdk\Data\Entity\EntityCollection;
5+
6+
/**
7+
* Shopware Collection Mapping Class
8+
*
9+
* This class is generated dynamically following SW entities schema
10+
*
11+
* @method void add(AppCmsBlockTranslationEntity $entity)
12+
* @method void set(AppCmsBlockTranslationEntity $entity)
13+
* @method AppCmsBlockTranslationEntity[] getIterator()
14+
* @method AppCmsBlockTranslationEntity[] getElements()
15+
* @method AppCmsBlockTranslationEntity|null get(string $key)
16+
* @method AppCmsBlockTranslationEntity|null first()
17+
* @method AppCmsBlockTranslationEntity|null last()
18+
*/
19+
class AppCmsBlockTranslationCollection extends EntityCollection
20+
{
21+
public function getExpectedClass() : string
22+
{
23+
return AppCmsBlockTranslationEntity::class;
24+
}
25+
}

src/Data/Entity/SasBlogAuthorTranslation/SasBlogAuthorTranslationDefinition.php renamed to src/Data/Entity/AppCmsBlockTranslation/AppCmsBlockTranslationDefinition.php

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php declare(strict_types=1);
2-
namespace Vin\ShopwareSdk\Data\Entity\SasBlogAuthorTranslation;
2+
namespace Vin\ShopwareSdk\Data\Entity\AppCmsBlockTranslation;
33

44
use Vin\ShopwareSdk\Data\Entity\EntityDefinition;
55
use Vin\ShopwareSdk\Data\Schema\PropertyCollection;
@@ -13,9 +13,9 @@
1313
*
1414
* This class is generated dynamically following SW entities schema
1515
*/
16-
class SasBlogAuthorTranslationDefinition implements EntityDefinition
16+
class AppCmsBlockTranslationDefinition implements EntityDefinition
1717
{
18-
public const ENTITY_NAME = 'sas_blog_author_translation';
18+
public const ENTITY_NAME = 'app_cms_block_translation';
1919

2020
public function getEntityName() : string
2121
{
@@ -24,24 +24,23 @@ public function getEntityName() : string
2424

2525
public function getEntityClass() : string
2626
{
27-
return SasBlogAuthorTranslationEntity::class;
27+
return AppCmsBlockTranslationEntity::class;
2828
}
2929

3030
public function getEntityCollection() : string
3131
{
32-
return SasBlogAuthorTranslationCollection::class;
32+
return AppCmsBlockTranslationCollection::class;
3333
}
3434

3535
public function getSchema() : Schema
3636
{
37-
return new Schema('sas_blog_author_translation', new PropertyCollection([
38-
new Property('description', 'text', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), ]), []),
39-
new Property('customFields', 'json_object', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), ]), []),
37+
return new Schema('app_cms_block_translation', new PropertyCollection([
38+
new Property('label', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('required', 1), ]), []),
4039
new Property('createdAt', 'date', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('required', 1), ]), []),
4140
new Property('updatedAt', 'date', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), ]), []),
42-
new Property('sasBlogAuthorId', 'uuid', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('primary_key', 1), new Flag('required', 1), ]), []),
41+
new Property('appCmsBlockId', 'uuid', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('primary_key', 1), new Flag('required', 1), ]), []),
4342
new Property('languageId', 'uuid', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('primary_key', 1), new Flag('required', 1), ]), []),
44-
new Property('sasBlogAuthor', 'association', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), ]), ['entity' => 'sas_blog_author', 'referenceField' => 'id', 'localField' => 'sasBlogAuthorId', 'relation' => 'many_to_one', ]),
43+
new Property('appCmsBlock', 'association', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), ]), ['entity' => 'app_cms_block', 'referenceField' => 'id', 'localField' => 'appCmsBlockId', 'relation' => 'many_to_one', ]),
4544
new Property('language', 'association', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), ]), ['entity' => 'language', 'referenceField' => 'id', 'localField' => 'languageId', 'relation' => 'many_to_one', ]),
4645
]));
4746
}
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php declare(strict_types=1);
2-
namespace Vin\ShopwareSdk\Data\Entity\SasBlogAuthorTranslation;
2+
namespace Vin\ShopwareSdk\Data\Entity\AppCmsBlockTranslation;
33

4-
use Vin\ShopwareSdk\Data\Entity\SasBlogAuthor\SasBlogAuthorEntity;
4+
use Vin\ShopwareSdk\Data\Entity\AppCmsBlock\AppCmsBlockEntity;
55
use Vin\ShopwareSdk\Data\Entity\Language\LanguageEntity;
66
use Vin\ShopwareSdk\Data\Entity\Entity;
77

@@ -10,15 +10,15 @@
1010
*
1111
* This class is generated dynamically following SW entities schema
1212
*/
13-
class SasBlogAuthorTranslationEntity extends Entity
13+
class AppCmsBlockTranslationEntity extends Entity
1414
{
15-
public ?string $description = null;
15+
public ?string $label = null;
1616

17-
public ?string $sasBlogAuthorId = null;
17+
public ?string $appCmsBlockId = null;
1818

1919
public ?string $languageId = null;
2020

21-
public ?SasBlogAuthorEntity $sasBlogAuthor = null;
21+
public ?AppCmsBlockEntity $appCmsBlock = null;
2222

2323
public ?LanguageEntity $language = null;
2424
}

src/Data/Entity/CmsPage/CmsPageDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public function getSchema() : Schema
3737
return new Schema('cms_page', new PropertyCollection([
3838
new Property('id', 'uuid', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('primary_key', 1), new Flag('required', 1), ]), []),
3939
new Property('versionId', 'uuid', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('primary_key', 1), new Flag('required', 1), ]), []),
40-
new Property('name', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('required', 1), new Flag('translatable', 1), ]), []),
40+
new Property('name', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('translatable', 1), ]), []),
4141
new Property('type', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('required', 1), ]), []),
4242
new Property('entity', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), ]), []),
4343
new Property('config', 'json_object', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), ]), ['properties' => json_decode('{"backgroundColor":{"type":"string","flags":{"read_protected":[["Shopware\\Core\\Framework\\Api\\Context\\AdminApiSource","Shopware\\Core\\Framework\\Api\\Context\\SalesChannelApiSource"]]}}}', true), ]),

src/Data/Entity/CmsPageTranslation/CmsPageTranslationDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public function getEntityCollection() : string
3535
public function getSchema() : Schema
3636
{
3737
return new Schema('cms_page_translation', new PropertyCollection([
38-
new Property('name', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('required', 1), ]), []),
38+
new Property('name', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), ]), []),
3939
new Property('customFields', 'json_object', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), ]), []),
4040
new Property('createdAt', 'date', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('required', 1), ]), []),
4141
new Property('updatedAt', 'date', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), ]), []),

src/Data/Entity/Customer/CustomerDefinition.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public function getSchema() : Schema
4545
new Property('defaultShippingAddressId', 'uuid', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('required', 1), ]), []),
4646
new Property('autoIncrement', 'int', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource']]), new Flag('write_protected', [[]]), ]), []),
4747
new Property('customerNumber', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('required', 1), new Flag('search_ranking', 500), ]), []),
48-
new Property('salutationId', 'uuid', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('required', 1), ]), []),
48+
new Property('salutationId', 'uuid', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), ]), []),
4949
new Property('firstName', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('required', 1), new Flag('search_ranking', 250), ]), []),
5050
new Property('lastName', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('required', 1), new Flag('search_ranking', 500), ]), []),
5151
new Property('company', 'string', new FlagCollection([new Flag('read_protected', [['Shopware\Core\Framework\Api\Context\AdminApiSource', 'Shopware\Core\Framework\Api\Context\SalesChannelApiSource']]), new Flag('search_ranking', 500), ]), []),

0 commit comments

Comments
 (0)