src/Factory/CryptoPasswordServiceFactory.php
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        /* @var $options PasswordOptionsInterface */
        $options = $serviceLocator->get(ModuleOptions::class);
        return new Bcrypt(['cost' => $options->getPasswordCost()]);
    }
public function createService(ServiceLocatorInterface $serviceLocator)
    {
        /* @var $options PasswordOptionsInterface */
        $options = $serviceLocator->get(ModuleOptions::class);
        return new Bcrypt(['cost' => $options->getPasswordCost()]);
    }
{@inheritDoc}

@return Bcrypt