Failed Conditions
Pull Request — experimental/3.1 (#2526)
by Kentaro
40:11 queued 13:18
created

ExtendedProduct

Complexity

Total Complexity 0

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
dl 0
loc 15
c 0
b 0
f 0
wmc 0
lcom 0
cbo 0
1
<?php
2
3
namespace Acme\Entity;
4
5
use Doctrine\ORM\Mapping\AssociationOverride;
6
use Doctrine\ORM\Mapping\AssociationOverrides;
7
use Doctrine\ORM\Mapping\AttributeOverride;
8
use Doctrine\ORM\Mapping\AttributeOverrides;
9
use Doctrine\ORM\Mapping\OneToOne;
10
use Doctrine\ORM\Mapping\JoinColumn;
11
use Doctrine\ORM\Mapping\Column;
12
use Doctrine\ORM\Mapping\Entity;
13
use Doctrine\ORM\Mapping\Table;
14
use Doctrine\ORM\Mapping\Id;
15
use Doctrine\ORM\Mapping\ManyToOne;
16
use Doctrine\ORM\Mapping\InheritanceType;
17
18
/**
19
 * Product の拡張
20
 * @Entity
21
 * @Table(name="extended_product")
22
 */
23
class ExtendedProduct extends \Eccube\Entity\Product
24
{
25
    /**
26
     * @Column(name="extended_parameter", type="string")
27
     */
28
    public $extendedParameter;
29
30
    /**
31
     * public フィールドでも大丈夫っぽい
32
     *
33
     * @ManyToOne(targetEntity="\Eccube\Entity\Master\Country")
34
     * @JoinColumn(name="country_id", referencedColumnName="id")
35
     */
36
    public $Country;
0 ignored issues
show
Coding Style introduced by
Member variable "Country" is not in valid camel caps format
Loading history...
37
}
38