Knp\Bundle\KnpBundlesBundle\Updater\DeveloperUpdaterPlain::updateByName PHP Method

updateByName() public method

public updateByName ( $name )
    public function updateByName($name)
    {
        $developer = $this->developerRepository->findOneByName($name);
        if ($developer) {
            $this->githubDeveloper->update($developer);
            $this->updateDeveloperOrganizations($developer);
            $this->entityManager->flush();
        }
    }