Logidav Docs

NewProductComment
in package

NewProductComment

Tags
ORM\Table

(name="mz_new_product_comment")

ORM\Entity

(repositoryClass="AppBundle\Repository\NewProductCommentRepository")

Table of Contents

Properties

$comment  : string
$createdAt  : DateTime
$id  : int
$newProduct  : mixed
$user  : mixed

Methods

getComment()  : string
Get comment.
getCreatedAt()  : DateTime
Get createdAt.
getId()  : int
Get id.
getNewProduct()  : NewProduct
Get newProduct.
getUser()  : User|null
Get user.
setComment()  : NewProductComment
Set comment.
setCreatedAt()  : NewProductComment
Set createdAt.
setNewProduct()  : NewProductComment
Set newProduct.
setUser()  : NewProductComment
Set user.

Properties

$comment

private string $comment
Tags
ORM\Column

(name="comment", type="text")

$createdAt

private DateTime $createdAt
Tags
ORM\Column

(name="created_at", type="datetime")

$id

private int $id
Tags
ORM\Column

(name="id", type="integer")

ORM\Id
ORM\GeneratedValue

(strategy="AUTO")

$newProduct

private mixed $newProduct
Tags
ORM\ManyToOne

(targetEntity="NewProduct", inversedBy="newProductComments" )

ORM\JoinColumn

(nullable=false)

$user

private mixed $user
Tags
ORM\ManyToOne

(targetEntity="UserBundle\Entity\User")

Methods

getCreatedAt()

Get createdAt.

public getCreatedAt() : DateTime
Return values
DateTime

        
On this page

Search results