Hackzilla\PasswordGenerator\Generator\HumanPasswordGenerator::getMaxPasswordLength PHP 메소드

getMaxPasswordLength() 공개 메소드

Calculate how long the password would be using maximum word length
public getMaxPasswordLength ( ) : integer
리턴 integer
    public function getMaxPasswordLength()
    {
        $wordCount = $this->getWordCount();
        return $this->getMaxWordLength() * $wordCount + strlen($this->getWordSeparator()) * ($wordCount - 1);
    }