src/Fiedsch/Data/Utility/TokenCreator.php
protected function getTokenCharacters($count = 1)
    {
        $result = '';
        for ($i = 0; $i < $count; $i++) {
            $result .= $this->tokenChars[mt_rand(0, count($this->tokenChars) - 1)];
        }
        return $result;
    }
protected function getTokenCharacters($count = 1)
    {
        $result = '';
        for ($i = 0; $i < $count; $i++) {
            $result .= $this->tokenChars[mt_rand(0, count($this->tokenChars) - 1)];
        }
        return $result;
    }
protected function getTokenCharacters ( $ count = 1 ) { $ result = '' ; for ( $ i = 0 ; $ i < $ count ; $ i ++ ) { $ result .= $ this -> tokenChars [ mt_rand ( 0 , count ( $ this -> tokenChars ) - 1 ) ] ; } return $ result ; }
Get random characters

@param int $count number of characters to return

@return string
Get random characters