Merge pull request #332

This commit is contained in:
symfony-flex-server[bot]
2018-03-31 10:40:08 +00:00
committed by GitHub
2 changed files with 6 additions and 2 deletions
@@ -2,14 +2,16 @@
namespace App\Entity\Eav;
use Doctrine\ORM\Mapping as ORM;
use MsgPhp\Eav\AttributeIdInterface;
use MsgPhp\Eav\Entity\Attribute as BaseAttribute;
/**
* @final
* @ORM\Entity()
*/
class Attribute extends BaseAttribute
{
/** @ORM\Id() @ORM\Column(type="msgphp_attribute_id") */
private $id;
public function __construct(AttributeIdInterface $id)
@@ -2,14 +2,16 @@
namespace App\Entity\Eav;
use Doctrine\ORM\Mapping as ORM;
use MsgPhp\Eav\AttributeValueIdInterface;
use MsgPhp\Eav\Entity\AttributeValue as BaseAttributeValue;
/**
* @final
* @ORM\Entity()
*/
class AttributeValue extends BaseAttributeValue
{
/** @ORM\Id() @ORM\Column(type="msgphp_attribute_value_id") */
private $id;
public function __construct(AttributeValueIdInterface $id, Attribute $attribute, $value)