<commit_before><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Zend\Console\Prompt;

final class Password extends AbstractPrompt
{
    /**
     * @var string
     */
    private $promptText;

    /**
     * @var bool
     */
    private $echo;

    /**
     * Ask the user for a password
     *
     * @param string $promptText   The prompt text to display in console
     * @param bool   $echo         Display the selection after user presses key
     */
    public function __construct(
        $promptText = 'Password: ',
        $echo = false
    ) {
        $this->promptText = (string) $promptText;
        $this->echo       = (bool) $echo;
    }

    /**
     * Show the prompt to user and return a string.
     *
     * @return string
     */<commit_msg>#6646 - Minor CS fixes (alignment)<commit_after><?php
/**
 * Zend Framework (http://framework.zend.com/)
 *
 * @link      http://github.com/zendframework/zf2 for the canonical source repository
 * @copyright Copyright (c) 2005-2015 Zend Technologies USA Inc. (http://www.zend.com)
 * @license   http://framework.zend.com/license/new-bsd New BSD License
 */

namespace Zend\Console\Prompt;

final class Password extends AbstractPrompt
{
    /**
     * @var string
     */
    private $promptText;

    /**
     * @var bool
     */
    private $echo;

    /**
     * Ask the user for a password
     *
     * @param string $promptText   The prompt text to display in console
     * @param bool   $echo         Display the selection after user presses key
     */
    public function __construct($promptText = 'Password: ', $echo = false)
    {
        $this->promptText = (string) $promptText;
        $this->echo       = (bool) $echo;
    }

    /**
     * Show the prompt to user and return a string.
     *
     * @return string
     */
{'fraction_non_alphanumeric': 0.12168034765813616, 'fraction_numerical': 0.010622887493964268, 'mean_word_length': 2.2024729520865534, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5988226', 'n_tokens_mistral': 649, 'n_tokens_neox': 599, 'n_words': 183}