Compare
class Compare
Class Compare
Properties
| protected | $id | ||
| protected string | $name | Compare list name | |
| protected User | $user | Associated user | |
| protected ArrayCollection | $products | Associated products |
Methods
__construct()
Compare constructor.
int
getId()
No description
string
getName()
No description
ArrayCollection
getProducts(bool $filter = false)
No description
setProducts(ArrayCollection $products)
No description
string
serialize()
(PHP 5 >= 5.1.0)
String representation of object
void
unserialize(string $serialized)
(PHP 5 >= 5.1.0)
Constructs the object
Details
at line 78
__construct()
Compare constructor.
at line 86
int
getId()
at line 96
Compare
setId(int $id)
at line 106
string
getName()
at line 116
Compare
setName(string $name)
at line 126
User
getUser()
at line 148
ArrayCollection
getProducts(bool $filter = false)
at line 160
setProducts(ArrayCollection $products)
at line 180
removeProduct(Product $product)
at line 193
string
serialize()
(PHP 5 >= 5.1.0)
String representation of object
at line 215
void
unserialize(string $serialized)
(PHP 5 >= 5.1.0)
Constructs the object