for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace iiifx\PasswordGenerator\Method;
class MethodRandomInt implements MethodInterface
{
/**
* @inheritdoc
*/
public static function isAvailable ()
return function_exists( 'random_int' );
}
public function getRandomInt ( $limit )
return random_int( 0, $limit );