Skip to content

Commit

Permalink
- Make InventoryLevel extended for developers being able to add addit…
Browse files Browse the repository at this point in the history
…ional fields to InventoryLevels
  • Loading branch information
24198 committed Apr 2, 2019
1 parent 96b5e6d commit 124728c
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
* )
* @ORM\HasLifecycleCallbacks()
*/
class InventoryLevel implements OrganizationAwareInterface, InventoryQtyAwareInterface
class InventoryLevel extends ExtendInventoryLevel implements OrganizationAwareInterface, InventoryQtyAwareInterface
{
use AuditableOrganizationAwareTrait;

Expand Down
21 changes: 21 additions & 0 deletions src/Marello/Bundle/InventoryBundle/Model/ExtendInventoryLevel.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

namespace Marello\Bundle\InventoryBundle\Model;

/**
* Class ExtendInventoryLevel
* @package Marello\Bundle\InventoryBundle\Model
*/
class ExtendInventoryLevel
{
/**
* Constructor
*
* The real implementation of this method is auto generated.
*
* IMPORTANT: If the derived class has own constructor it must call parent constructor.
*/
public function __construct()
{
}
}

0 comments on commit 124728c

Please sign in to comment.