for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Fousky\Component\iDoklad\LOV;
/**
* @author Lukáš Brzák <[email protected]>
*/
class PriceTypeWithoutOnlyBaseEnum extends iDokladAbstractEnum
{
const WITH_VAT = 0;
const WITHOUT_VAT = 1;
* @return bool
public function isWithVat(): bool
return self::WITH_VAT === $this->value;
}
public function isWithoutVat(): bool
return self::WITHOUT_VAT === $this->value;