PHP 클래스 Dumplie\Inventory\Infrastructure\Doctrine\DBAL\Query\DbalInventoryQuery

상속: implements Dumplie\Inventory\Application\Query\InventoryQuery
파일 보기 프로젝트 열기: dumplie/dumplie

공개 메소드들

메소드 설명
__construct ( Doctrine\DBAL\Connection $connection, MetadataAccessRegistry $accessRegistry )
count ( ) : integer
findAll ( integer $limit, integer $offset ) : array
getBySku ( string $sku ) : Product
skuExists ( string $sku ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( Doctrine\DBAL\Connection $connection, MetadataAccessRegistry $accessRegistry )
$connection Doctrine\DBAL\Connection
$accessRegistry Dumplie\Metadata\MetadataAccessRegistry

count() 공개 메소드

public count ( ) : integer
리턴 integer

findAll() 공개 메소드

public findAll ( integer $limit, integer $offset ) : array
$limit integer
$offset integer
리턴 array

getBySku() 공개 메소드

public getBySku ( string $sku ) : Product
$sku string
리턴 Dumplie\Inventory\Application\Query\Result\Product

skuExists() 공개 메소드

public skuExists ( string $sku ) : boolean
$sku string
리턴 boolean