src/Transfer/Processor/Processor.php
protected function injectDependencies($component)
    {
        if ($component instanceof StorageStackAwareInterface) {
            $component->setStorageStack($this->stack);
        }

        if ($component instanceof LoggerAwareInterface && $this->logger instanceof LoggerInterface) {
            $component->setLogger($this->logger);
        }
    }
protected function injectDependencies($component)
    {
        if ($component instanceof StorageStackAwareInterface) {
            $component->setStorageStack($this->stack);
        }

        if ($component instanceof LoggerAwareInterface && $this->logger instanceof LoggerInterface) {
            $component->setLogger($this->logger);
        }
    }
protected function injectDependencies ( $ component ) { if ( $ component instanceof StorageStackAwareInterface ) { $ component -> setStorageStack ( $ this -> stack ) ; } if ( $ component instanceof LoggerAwareInterface && $ this -> logger instanceof LoggerInterface ) { $ component -> setLogger ( $ this -> logger ) ; } }
Injects dependencies.

@param object $component Component
Injects dependencies .