Documentation

PointOrder
in package

Tags
ORM\Entity

(repositoryClass=PointOrderRepository::class)

Table of Contents

$id  : mixed
$orderId  : mixed
$pointsLogistic  : mixed
__construct()  : mixed
addPointsLogistic()  : self
getId()  : int|null
getOrderId()  : Order|null
getPointsLogistic()  : Collection|array<string|int, PointLogistic>
removePointsLogistic()  : self
setOrderId()  : self

Properties

$id

private mixed $id
Tags
ORM\Id
ORM\GeneratedValue
ORM\Column

(type="integer")

$orderId

private mixed $orderId
Tags
ORM\OneToOne

(targetEntity=Order::class, inversedBy="pointOrder", cascade={"persist", "remove"})

ORM\JoinColumn

(nullable=false)

$pointsLogistic

private mixed $pointsLogistic
Tags
ORM\OneToMany

(targetEntity=PointLogistic::class, mappedBy="pointOrder")

Methods

__construct()

public __construct() : mixed
Return values
mixed

getId()

public getId() : int|null
Return values
int|null

setOrderId()

public setOrderId(Order $orderId) : self
Parameters
$orderId : Order
Return values
self

Search results