PHP 클래스 Elcodi\Plugin\CustomShippingBundle\EventListener\ShippingCollectEventListener

파일 보기 프로젝트 열기: elcodi/bamboo 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin
$shippingRangesProvider Elcodi\Plugin\CustomShippingBundle\Provider\ShippingRangesProvider ShippingRanges provider

공개 메소드들

메소드 설명
__construct ( Elcodi\Component\Plugin\Entity\Plugin $plugin, ShippingRangesProvider $shippingRangesProvider ) Construct method
addCustomShippingMethods ( Elcodi\Component\Shipping\Event\ShippingCollectionEvent $event ) Given a Cart, return a set of Valid ShippingRanges satisfied.

메소드 상세

__construct() 공개 메소드

Construct method
public __construct ( Elcodi\Component\Plugin\Entity\Plugin $plugin, ShippingRangesProvider $shippingRangesProvider )
$plugin Elcodi\Component\Plugin\Entity\Plugin Plugin
$shippingRangesProvider Elcodi\Plugin\CustomShippingBundle\Provider\ShippingRangesProvider ShippingRanges provider

addCustomShippingMethods() 공개 메소드

Given a Cart, return a set of Valid ShippingRanges satisfied.
public addCustomShippingMethods ( Elcodi\Component\Shipping\Event\ShippingCollectionEvent $event )
$event Elcodi\Component\Shipping\Event\ShippingCollectionEvent Event

프로퍼티 상세

$plugin 보호되어 있는 프로퍼티

Plugin
protected Plugin,Elcodi\Component\Plugin\Entity $plugin
리턴 Elcodi\Component\Plugin\Entity\Plugin

$shippingRangesProvider 보호되어 있는 프로퍼티

ShippingRanges provider
protected ShippingRangesProvider,Elcodi\Plugin\CustomShippingBundle\Provider $shippingRangesProvider
리턴 Elcodi\Plugin\CustomShippingBundle\Provider\ShippingRangesProvider