PHP Класс Sonata\Component\Delivery\Pool

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$methods array

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

Метод Описание
addMethod ( Sonata\Component\Delivery\ServiceDeliveryInterface $instance ) add a delivery method into the pool.
getMethod ( string $code ) : Sonata\Component\Delivery\ServiceDeliveryInterface return a ServiceDeliveryInterface Object.
getMethods ( ) : array

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

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

add a delivery method into the pool.
public addMethod ( Sonata\Component\Delivery\ServiceDeliveryInterface $instance )
$instance Sonata\Component\Delivery\ServiceDeliveryInterface

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

return a ServiceDeliveryInterface Object.
public getMethod ( string $code ) : Sonata\Component\Delivery\ServiceDeliveryInterface
$code string
Результат Sonata\Component\Delivery\ServiceDeliveryInterface

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

public getMethods ( ) : array
Результат array of delivery methods

Описание свойств

$methods защищенное свойство

protected array $methods
Результат array