for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Ytake\KsqlClient;
/**
* for KSQL basic
* Class AuthCredential
*/
final class AuthCredential
{
/** @var string */
private $userName;
private $password;
* @param string $userName
* @param string $password
public function __construct(string $userName, string $password)
$this->userName = $userName;
$this->password = $password;
}
* @return string
public function getUserName(): string
return $this->userName;
public function getPassword(): string
return $this->password;