Pyrech\ComposerChangelogs\Outputter::getOperationHandler PHP Method

getOperationHandler() private method

private getOperationHandler ( Composer\DependencyResolver\Operation\OperationInterface $operation ) : Pyrech\ComposerChangelogs\OperationHandler\OperationHandler | null
$operation Composer\DependencyResolver\Operation\OperationInterface
return Pyrech\ComposerChangelogs\OperationHandler\OperationHandler | null
    private function getOperationHandler(OperationInterface $operation)
    {
        foreach ($this->operationHandlers as $operationHandler) {
            if ($operationHandler->supports($operation)) {
                return $operationHandler;
            }
        }
        return;
    }