src/Entity/Product.php
Product
has 50 functions (exceeds 20 allowed). Consider refactoring. Open
Open
class Product implements IdEntityInterface, EnabledAttachmentInterface
{
use TimeTrait, IdTrait, StringSetterTrait;
/** @var string|null */
File Product.php
has 302 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php
namespace inklabs\kommerce\Entity;
use Doctrine\Common\Collections\ArrayCollection;
use inklabs\kommerce\Exception\InsufficientInventoryException;