PHP Класс Sylius\Bundle\CoreBundle\Doctrine\ORM\OrderRepository

Наследование: extends Sylius\Bundle\CartBundle\Doctrine\ORM\CartRepository, implements Sylius\Component\Core\Repository\OrderRepositoryInterface
Показать файл Открыть проект

Открытые методы

Метод Описание
countByChannel ( Sylius\Component\Core\Model\ChannelInterface $channel ) {@inheritDoc}
countByCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
countByCustomerAndCoupon ( Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\PromotionCouponInterface $coupon )
createByCustomerIdQueryBuilder ( $customerId )
createListQueryBuilder ( )
findByCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
findCartByChannel ( $id, Sylius\Component\Core\Model\ChannelInterface $channel )
findLatestCartByChannelAndCustomer ( Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Core\Model\CustomerInterface $customer )
findLatestInChannel ( $count, Sylius\Component\Core\Model\ChannelInterface $channel )
findOneByNumberAndCustomer ( $number, Sylius\Component\Core\Model\CustomerInterface $customer )
findOneForPayment ( $id )
getTotalSalesForChannel ( Sylius\Component\Core\Model\ChannelInterface $channel ) {@inheritDoc}

Описание методов

countByChannel() публичный Метод

{@inheritDoc}
public countByChannel ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

countByCustomer() публичный Метод

public countByCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

countByCustomerAndCoupon() публичный Метод

public countByCustomerAndCoupon ( Sylius\Component\Core\Model\CustomerInterface $customer, Sylius\Component\Core\Model\PromotionCouponInterface $coupon )
$customer Sylius\Component\Core\Model\CustomerInterface
$coupon Sylius\Component\Core\Model\PromotionCouponInterface

createByCustomerIdQueryBuilder() публичный Метод

public createByCustomerIdQueryBuilder ( $customerId )

createListQueryBuilder() публичный Метод

findByCustomer() публичный Метод

public findByCustomer ( Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

findCartByChannel() публичный Метод

public findCartByChannel ( $id, Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

findLatestCartByChannelAndCustomer() публичный Метод

public findLatestCartByChannelAndCustomer ( Sylius\Component\Core\Model\ChannelInterface $channel, Sylius\Component\Core\Model\CustomerInterface $customer )
$channel Sylius\Component\Core\Model\ChannelInterface
$customer Sylius\Component\Core\Model\CustomerInterface

findLatestInChannel() публичный Метод

public findLatestInChannel ( $count, Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface

findOneByNumberAndCustomer() публичный Метод

public findOneByNumberAndCustomer ( $number, Sylius\Component\Core\Model\CustomerInterface $customer )
$customer Sylius\Component\Core\Model\CustomerInterface

findOneForPayment() публичный Метод

public findOneForPayment ( $id )

getTotalSalesForChannel() публичный Метод

{@inheritDoc}
public getTotalSalesForChannel ( Sylius\Component\Core\Model\ChannelInterface $channel )
$channel Sylius\Component\Core\Model\ChannelInterface