Elgg\PasswordService::__construct PHP Method

__construct() public method

Constructor
public __construct ( )
    public function __construct()
    {
        if (!function_exists('password_hash')) {
            throw new \RuntimeException("password_hash and associated functions are required.");
        }
    }