...
Codeblock | ||||
---|---|---|---|---|
| ||||
<?php declare(strict_types=1); namespace Brandbox\Dev\Example\DbalExtend\Lib\Extend { use DoctrineSymfony\Component\ORMValidator\MappingConstraints; class shopArticleuse Doctrine\ORM\Mapping; class shopArticle { { /** * @Mapping#[Mapping\Column(name=": 'shop_article_example"', type="string": 'string', nullable=: false, length=: 255, options={"default": ""}) * * @constraint NotBlank() * @constraint NotHtml() * @constraint Length(max=255) */ : ['default': '']] #[Constraints\NotBlank, Constraints\NotHtml, Constraints\Length(max: 255)] public string $shopArticleExample = ''; } } |
...