App\Entities\Setting\DbSettingEntity::getPassword PHP Méthode

getPassword() public méthode

public getPassword ( )
    public function getPassword()
    {
        return $this->password;
    }

Usage Example

 public function test_Should_SetAndGetPassword()
 {
     $dbSettingEntity = new DbSettingEntity();
     $dbSettingEntity->setPassword('password');
     $password = $dbSettingEntity->getPassword();
     $this->assertEquals('password', $password);
 }