| Current Path : /var/www/html/vendor/magento/module-webapi/Test/Unit/Model/Config/ |
| Current File : /var/www/html/vendor/magento/module-webapi/Test/Unit/Model/Config/TestServiceForClassReflector.php |
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);
namespace Magento\Webapi\Test\Unit\Model\Config;
class TestServiceForClassReflector
{
/**
* Basic random string generator. This line is short description
* This line is long description.
*
* This is still the long description.
*
* @param int $length length of the random string
* @return string random string
*/
public function generateRandomString($length)
{
return substr(str_shuffle("0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"), 0, $length);
}
}