Hackzilla\PasswordGenerator\Generator\HumanPasswordGenerator::getMaxPasswordLength PHP Method

getMaxPasswordLength() public method

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