src/Composer/Installer/InstallationManager.php
public function execute(RepositoryInterface $repo, OperationInterface $operation)
    {
        $method = $operation->getJobType();
        $this->$method($repo, $operation);
    }
public function execute(RepositoryInterface $repo, OperationInterface $operation)
    {
        $method = $operation->getJobType();
        $this->$method($repo, $operation);
    }
Executes solver operation.

@param RepositoryInterface $repo      repository in which to check
@param OperationInterface  $operation operation instance