Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

updates for loading Product into Merchandise

  • Loading branch information...
commit 2446862c0e317fe6e127da28af226364a44fd2c7 1 parent c42203a
@iampersistent iampersistent authored
View
2  lib/Vespolina/Entity/Product/Merchandise.php
@@ -29,7 +29,7 @@ class Merchandise extends BaseProduct implements MerchandiseInterface
public function __construct(ProductInterface $product)
{
$this->product = $product;
- $rc = new \ReflectionClass(get_parent_class($this));
+ $rc = new \ReflectionClass('Vespolina\Entity\Product\BaseProduct');
$properties = $rc->getProperties();
foreach ($properties as $property) {
$property->setAccessible(true);
View
1  lib/Vespolina/Entity/Product/Product.php
@@ -9,6 +9,7 @@
namespace Vespolina\Entity\Product;
use Vespolina\Entity\Identifier\IdentifierInterface;
+use Vespolina\Entity\Product\BaseProduct;
use Vespolina\Entity\Product\FeatureInterface;
use Vespolina\Entity\Product\OptionInterface;
use Vespolina\Entity\Product\OptionGroupInterface;
Please sign in to comment.
Something went wrong with that request. Please try again.