Failed Conditions
Push — experimental/3.1 ( 243c6b...0c67c0 )
by Yangsin
65:47
created

BaseInfoTrait

Complexity

Total Complexity 0

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 8
wmc 0
lcom 0
cbo 0
1
<?php
2
3
namespace Acme\Entity;
4
5
use Doctrine\ORM\Mapping as ORM;
6
use Eccube\Annotation\EntityExtension;
7
use Symfony\Component\Validator\Constraints as Assert;
8
9
/**
10
 * @EntityExtension("Eccube\Entity\BaseInfo")
11
 */
12
trait BaseInfoTrait
13
{
14
    /**
15
     * @ORM\Column(name="company_name_vn", type="string", length=255, nullable=true, options={"eccube_form_render":true})
16
     * @Assert\NotBlank(message="にゅうりょくしてくださいね!!!")
17
     */
18
    public $company_name_vn;
0 ignored issues
show
Coding Style introduced by
Member variable "company_name_vn" is not in valid camel caps format
Loading history...
19
}