src/Rezzza/Jobflow/Extension/BaseExtension.php
private function initTransports()
    {
        $this->transports = array();

        foreach ($this->loadTransports() as $transport) {
            if (!$transport instanceof TransportInterface) {
                throw new \InvalidArgumentException(sprintf('Transport %s should implements TransportInterface', get_class($transport)));
            }

            $this->transports[$transport->getName()] = $transport;
        }
    }
private function initTransports()
    {
        $this->transports = array();

        foreach ($this->loadTransports() as $transport) {
            if (!$transport instanceof TransportInterface) {
                throw new \InvalidArgumentException(sprintf('Transport %s should implements TransportInterface', get_class($transport)));
            }

            $this->transports[$transport->getName()] = $transport;
        }
    }
private function initTransports ( ) { $ this -> transports = array ( ) ; foreach ( $ this -> loadTransports ( ) as $ transport ) { if ( ! $ transport instanceof TransportInterface ) { throw new \ InvalidArgumentException ( sprintf ( 'Transport %s should implements TransportInterface' , get_class ( $ transport ) ) ) ; } $ this -> transports [ $ transport -> getName ( ) ] = $ transport ; } }
Initializes the transports.
Initializes the transports .