Skip to content

Instantly share code, notes, and snippets.

View FabianWesner's full-sized avatar

Fabian Wesner FabianWesner

  • Berlin
View GitHub Profile
<?php
namespace Spryker\Zed\Discount\Business\Calculator;
class Discount implements DiscountInterface
{
/**
* @var \Spryker\Zed\Discount\Persistence\DiscountQueryContainerInterface
*/
protected $queryContainer;
@FabianWesner
FabianWesner / ProductManager.php
Last active March 17, 2017 08:52
Spryker DI example
<?php
class ProductManager implements ProductManagerInterface
{
/**
* @var \Spryker\Zed\Product\Persistence\ProductQueryContainerInterface
*/
protected $productQueryContainer;
<?php
namespace Pyz\Client\Glossary;
use Pyz\Client\Kernel\AbstractFactory;
class GlossaryFactory extends AbstractFactory
{
}