for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace TddWizard\Fixtures\Catalog;
use Magento\Catalog\Api\Data\ProductInterface;
class ProductFixture
{
/**
* @var ProductInterface
*/
private $product;
public function __construct(ProductInterface $product)
$this->product = $product;
}
public function getId() : int
return $this->product->getId();
return $this->product->getId()
null
integer
public function getSku() : string
return $this->product->getSku();