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

getMaxWordLength() 공개 메소드

get max word length.
public getMaxWordLength ( ) : integer
리턴 integer
    public function getMaxWordLength()
    {
        if (is_null($this->maxWordLength)) {
            return $this->getOptionValue(self::OPTION_MAX_WORD_LENGTH);
        }
        return min($this->maxWordLength, $this->getOptionValue(self::OPTION_MAX_WORD_LENGTH));
    }