for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/*
* (c) Soeren Martius
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace SoerenMartius\Component\Wishlist\Model;
/**
* @author Soeren Martius <[email protected]>
class Item implements
ItemInterface,
Timestampable
{
use TimestampableTrait;
* @var mixed
protected $id;
* @var WishlistInterface
protected $wishlist;
* {@inheritdoc}
public function getId()
return $this->id;
}
* @param mixed $id
* @return ItemInterface
public function setId($id): ItemInterface
$this->id = $id;
return $this;
public function getWishlist()
return $this->wishlist;
public function setWishlist(WishlistInterface $wishlist): ItemInterface
$this->wishlist = $wishlist;