mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 07:36:34 +03:00
Update Flex archives
This commit is contained in:
@@ -0,0 +1,101 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/eav-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\EavBundle\\MsgPhpEavBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_eav.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\Eav\\Entity\\{Attribute, AttributeValue};",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_eav', [",
|
||||
" 'class_mapping' => [",
|
||||
" Attribute::class => \\App\\Entity\\Eav\\Attribute::class,",
|
||||
" AttributeValue::class => \\App\\Entity\\Eav\\AttributeValue::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/Eav/Attribute.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\Eav;",
|
||||
"",
|
||||
"use MsgPhp\\Eav\\AttributeIdInterface;",
|
||||
"use MsgPhp\\Eav\\Entity\\Attribute as BaseAttribute;",
|
||||
"",
|
||||
"/**",
|
||||
" * @final",
|
||||
" */",
|
||||
"class Attribute extends BaseAttribute",
|
||||
"{",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(AttributeIdInterface $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): AttributeIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/Eav/AttributeValue.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\Eav;",
|
||||
"",
|
||||
"use MsgPhp\\Eav\\AttributeValueIdInterface;",
|
||||
"use MsgPhp\\Eav\\Entity\\AttributeValue as BaseAttributeValue;",
|
||||
"",
|
||||
"/**",
|
||||
" * @final",
|
||||
" */",
|
||||
"class AttributeValue extends BaseAttributeValue",
|
||||
"{",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(AttributeValueIdInterface $id, Attribute $attribute, $value)",
|
||||
" {",
|
||||
" parent::__construct($attribute, $value);",
|
||||
"",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): AttributeValueIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "454ef355e57e526f86860342c8ac6db9739c0697"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/eav-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\EavBundle\\MsgPhpEavBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_eav.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\Eav\\Entity\\{Attribute, AttributeValue};",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_eav', [",
|
||||
" 'class_mapping' => [",
|
||||
" Attribute::class => \\App\\Entity\\Eav\\Attribute::class,",
|
||||
" AttributeValue::class => \\App\\Entity\\Eav\\AttributeValue::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/Eav/Attribute.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\Eav;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\Eav\\AttributeIdInterface;",
|
||||
"use MsgPhp\\Eav\\Entity\\Attribute as BaseAttribute;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class Attribute extends BaseAttribute",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_attribute_id\") */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(AttributeIdInterface $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): AttributeIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/Eav/AttributeValue.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\Eav;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\Eav\\AttributeValueIdInterface;",
|
||||
"use MsgPhp\\Eav\\Entity\\AttributeValue as BaseAttributeValue;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class AttributeValue extends BaseAttributeValue",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_attribute_value_id\") */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(AttributeValueIdInterface $id, Attribute $attribute, $value)",
|
||||
" {",
|
||||
" parent::__construct($attribute, $value);",
|
||||
"",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): AttributeValueIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "4e05a2e93e1ab0300a4210fb64cf9ad1b7d8ee0a"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,75 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/eav-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\EavBundle\\MsgPhpEavBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_eav.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\Eav\\Entity\\{Attribute, AttributeValue};",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_eav', [",
|
||||
" 'class_mapping' => [",
|
||||
" Attribute::class => \\App\\Entity\\Eav\\Attribute::class,",
|
||||
" AttributeValue::class => \\App\\Entity\\Eav\\AttributeValue::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/Eav/Attribute.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\Eav;",
|
||||
"",
|
||||
"use MsgPhp\\Eav\\Entity\\Attribute as BaseAttribute;",
|
||||
"",
|
||||
"/**",
|
||||
" * @final",
|
||||
" */",
|
||||
"class Attribute extends BaseAttribute",
|
||||
"{",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/Eav/AttributeValue.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\Eav;",
|
||||
"",
|
||||
"use MsgPhp\\Eav\\Entity\\AttributeValue as BaseAttributeValue;",
|
||||
"",
|
||||
"/**",
|
||||
" * @final",
|
||||
" */",
|
||||
"class AttributeValue extends BaseAttributeValue",
|
||||
"{",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "6d1388ea8a520c5fd45883a4e179882884da982a"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,96 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/eav-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\EavBundle\\MsgPhpEavBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_eav.yaml": {
|
||||
"contents": [
|
||||
"msgphp_eav:",
|
||||
" class_mapping:",
|
||||
" MsgPhp\\Eav\\Attribute: App\\Entity\\Attribute",
|
||||
" MsgPhp\\Eav\\AttributeValue: App\\Entity\\AttributeValue",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/Attribute.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\Eav\\Attribute as BaseAttribute;",
|
||||
"use MsgPhp\\Eav\\AttributeId;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class Attribute extends BaseAttribute",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_attribute_id\", length=191) */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(AttributeId $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): AttributeId",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/AttributeValue.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\Eav\\AttributeValue as BaseAttributeValue;",
|
||||
"use MsgPhp\\Eav\\AttributeValueId;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class AttributeValue extends BaseAttributeValue",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_attribute_value_id\", length=191) */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(AttributeValueId $id, Attribute $attribute, $value)",
|
||||
" {",
|
||||
" parent::__construct($attribute, $value);",
|
||||
"",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): AttributeValueId",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "71d362982856b2f7ddaf76d82e032e6746aab2ac"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/eav-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\EavBundle\\MsgPhpEavBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_eav.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\Eav\\Entity\\{Attribute, AttributeValue};",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_eav', [",
|
||||
" 'class_mapping' => [",
|
||||
" Attribute::class => \\App\\Entity\\Eav\\Attribute::class,",
|
||||
" AttributeValue::class => \\App\\Entity\\Eav\\AttributeValue::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/Eav/Attribute.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\Eav;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\Eav\\AttributeIdInterface;",
|
||||
"use MsgPhp\\Eav\\Entity\\Attribute as BaseAttribute;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class Attribute extends BaseAttribute",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\Column(type=\"msgphp_attribute_id\") */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(AttributeIdInterface $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): AttributeIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/Eav/AttributeValue.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\Eav;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\Eav\\AttributeValueIdInterface;",
|
||||
"use MsgPhp\\Eav\\Entity\\AttributeValue as BaseAttributeValue;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class AttributeValue extends BaseAttributeValue",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\Column(type=\"msgphp_attribute_value_id\") */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(AttributeValueIdInterface $id, Attribute $attribute, $value)",
|
||||
" {",
|
||||
" parent::__construct($attribute, $value);",
|
||||
"",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): AttributeValueIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "7a08495d5a27245cb74219d482b60b49ddad876c"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,106 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/eav-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\EavBundle\\MsgPhpEavBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_eav.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\Eav\\Attribute;",
|
||||
"use MsgPhp\\Eav\\AttributeValue;",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_eav', [",
|
||||
" 'class_mapping' => [",
|
||||
" Attribute::class => \\App\\Entity\\Attribute::class,",
|
||||
" AttributeValue::class => \\App\\Entity\\AttributeValue::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/Attribute.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\Eav\\Attribute as BaseAttribute;",
|
||||
"use MsgPhp\\Eav\\AttributeId;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class Attribute extends BaseAttribute",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_attribute_id\", length=191) */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(AttributeId $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): AttributeId",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/AttributeValue.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\Eav\\AttributeValue as BaseAttributeValue;",
|
||||
"use MsgPhp\\Eav\\AttributeValueId;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class AttributeValue extends BaseAttributeValue",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_attribute_value_id\", length=191) */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(AttributeValueId $id, Attribute $attribute, $value)",
|
||||
" {",
|
||||
" parent::__construct($attribute, $value);",
|
||||
"",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): AttributeValueId",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "9b2774120df769609554a5883df6c3a2224a9761"
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,105 @@
|
||||
{
|
||||
"manifests": {
|
||||
"msgphp/eav-bundle": {
|
||||
"manifest": {
|
||||
"bundles": {
|
||||
"MsgPhp\\EavBundle\\MsgPhpEavBundle": [
|
||||
"all"
|
||||
]
|
||||
},
|
||||
"copy-from-recipe": {
|
||||
"config/": "%CONFIG_DIR%/",
|
||||
"src/": "%SRC_DIR%/"
|
||||
}
|
||||
},
|
||||
"files": {
|
||||
"config/packages/msgphp_eav.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"use MsgPhp\\Eav\\Entity\\{Attribute, AttributeValue};",
|
||||
"use Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator;",
|
||||
"",
|
||||
"return function (ContainerConfigurator $container) {",
|
||||
" $container->extension('msgphp_eav', [",
|
||||
" 'class_mapping' => [",
|
||||
" Attribute::class => \\App\\Entity\\Eav\\Attribute::class,",
|
||||
" AttributeValue::class => \\App\\Entity\\Eav\\AttributeValue::class,",
|
||||
" ],",
|
||||
" ]);",
|
||||
"};",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/Eav/Attribute.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\Eav;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\Eav\\AttributeIdInterface;",
|
||||
"use MsgPhp\\Eav\\Entity\\Attribute as BaseAttribute;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class Attribute extends BaseAttribute",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_attribute_id\", length=191) */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(AttributeIdInterface $id)",
|
||||
" {",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): AttributeIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
},
|
||||
"src/Entity/Eav/AttributeValue.php": {
|
||||
"contents": [
|
||||
"<?php",
|
||||
"",
|
||||
"namespace App\\Entity\\Eav;",
|
||||
"",
|
||||
"use Doctrine\\ORM\\Mapping as ORM;",
|
||||
"use MsgPhp\\Eav\\AttributeValueIdInterface;",
|
||||
"use MsgPhp\\Eav\\Entity\\AttributeValue as BaseAttributeValue;",
|
||||
"",
|
||||
"/**",
|
||||
" * @ORM\\Entity()",
|
||||
" */",
|
||||
"class AttributeValue extends BaseAttributeValue",
|
||||
"{",
|
||||
" /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_attribute_value_id\", length=191) */",
|
||||
" private $id;",
|
||||
"",
|
||||
" public function __construct(AttributeValueIdInterface $id, Attribute $attribute, $value)",
|
||||
" {",
|
||||
" parent::__construct($attribute, $value);",
|
||||
"",
|
||||
" $this->id = $id;",
|
||||
" }",
|
||||
"",
|
||||
" public function getId(): AttributeValueIdInterface",
|
||||
" {",
|
||||
" return $this->id;",
|
||||
" }",
|
||||
"}",
|
||||
""
|
||||
],
|
||||
"executable": false
|
||||
}
|
||||
},
|
||||
"ref": "fecb110fa9bf3d7de31165a04f284e1e9d476320"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user