Files
symfony-flex-recipes-contrib/beelab.tag-bundle.1.3.json
T
github-action botandgithub-action bot 06af7d5f81 Update Flex endpoint
2021-09-23 10:31:54 +00:00

89 lines
3.3 KiB
JSON

{
"manifests": {
"beelab/tag-bundle": {
"manifest": {
"bundles": {
"Beelab\\TagBundle\\BeelabTagBundle": [
"all"
]
},
"copy-from-recipe": {
"config/": "%CONFIG_DIR%/",
"src/": "%SRC_DIR%/"
},
"post-install-output": [
" * <fg=blue>Customize</> your new Tag entity",
" * <fg=blue>Read</> documentation at <comment>https://github.com/Bee-Lab/BeelabTagBundle/blob/master/Resources/docs/index.md</>"
]
},
"files": {
"src/Entity/Tag.php": {
"contents": [
"<?php",
"",
"namespace App\\Entity;",
"",
"use Beelab\\TagBundle\\Tag\\TagInterface;",
"use Doctrine\\ORM\\Mapping as ORM;",
"",
"/**",
" * @ORM\\Table()",
" * @ORM\\Entity()",
" */",
"class Tag implements TagInterface",
"{",
" /**",
" * @var int",
" *",
" * @ORM\\Column(type=\"integer\")",
" * @ORM\\Id",
" * @ORM\\GeneratedValue(strategy=\"AUTO\")",
" */",
" protected $id;",
"",
" /**",
" * @var string|null",
" *",
" * @ORM\\Column()",
" */",
" protected $name;",
"",
" public function __toString(): string",
" {",
" return $this->name;",
" }",
"",
" public function getId(): int",
" {",
" return $this->id;",
" }",
"",
" public function setName(?string $name): void",
" {",
" $this->name = $name;",
" }",
"",
" public function getName(): ?string",
" {",
" return $this->name;",
" }",
"}",
"",
""
],
"executable": false
},
"config/packages/beelab_tag.yaml": {
"contents": [
"beelab_tag:",
" tag_class: App\\Entity\\Tag",
""
],
"executable": false
}
},
"ref": "9bd5cf1ad8576a8ad13e317cf8d7b854883cab9e"
}
}
}