mirror of
https://github.com/symfony/recipes-contrib.git
synced 2026-09-12 15:46:52 +03:00
51 lines
2.8 KiB
JSON
51 lines
2.8 KiB
JSON
{
|
|
"locks": {
|
|
"msgphp/eav-bundle": {
|
|
"version": "0.10",
|
|
"recipe": {
|
|
"repo": "0.10",
|
|
"branch": "master",
|
|
"version": "0.10",
|
|
"ref": "71d362982856b2f7ddaf76d82e032e6746aab2ac"
|
|
}
|
|
}
|
|
},
|
|
"manifests": {
|
|
"msgphp/eav-bundle": {
|
|
"repository": "github.com/symfony/recipes-contrib",
|
|
"package": "msgphp/eav-bundle",
|
|
"version": "0.10",
|
|
"manifest": {
|
|
"bundles": {
|
|
"MsgPhp\\EavBundle\\MsgPhpEavBundle": [
|
|
"all"
|
|
]
|
|
},
|
|
"copy-from-recipe": {
|
|
"config/": "%CONFIG_DIR%/",
|
|
"src/": "%SRC_DIR%/"
|
|
}
|
|
},
|
|
"files": {
|
|
"src/Entity/AttributeValue.php": {
|
|
"contents": "<?php\n\nnamespace App\\Entity;\n\nuse Doctrine\\ORM\\Mapping as ORM;\nuse MsgPhp\\Eav\\AttributeValue as BaseAttributeValue;\nuse MsgPhp\\Eav\\AttributeValueId;\n\n/**\n * @ORM\\Entity()\n */\nclass AttributeValue extends BaseAttributeValue\n{\n /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_attribute_value_id\", length=191) */\n private $id;\n\n public function __construct(AttributeValueId $id, Attribute $attribute, $value)\n {\n parent::__construct($attribute, $value);\n\n $this->id = $id;\n }\n\n public function getId(): AttributeValueId\n {\n return $this->id;\n }\n}\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
},
|
|
"src/Entity/Attribute.php": {
|
|
"contents": "<?php\n\nnamespace App\\Entity;\n\nuse Doctrine\\ORM\\Mapping as ORM;\nuse MsgPhp\\Eav\\Attribute as BaseAttribute;\nuse MsgPhp\\Eav\\AttributeId;\n\n/**\n * @ORM\\Entity()\n */\nclass Attribute extends BaseAttribute\n{\n /** @ORM\\Id() @ORM\\GeneratedValue() @ORM\\Column(type=\"msgphp_attribute_id\", length=191) */\n private $id;\n\n public function __construct(AttributeId $id)\n {\n $this->id = $id;\n }\n\n public function getId(): AttributeId\n {\n return $this->id;\n }\n}\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
},
|
|
"config/packages/msgphp_eav.yaml": {
|
|
"contents": "msgphp_eav:\n class_mapping:\n MsgPhp\\Eav\\Attribute: App\\Entity\\Attribute\n MsgPhp\\Eav\\AttributeValue: App\\Entity\\AttributeValue\n",
|
|
"executable": false,
|
|
"encoding": ""
|
|
}
|
|
},
|
|
"origin": "msgphp/eav-bundle:0.10@github.com/symfony/recipes-contrib:master",
|
|
"not_installable": false,
|
|
"is_contrib": true
|
|
}
|
|
}
|
|
} |