for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace hipanel\modules\finance\logic\bill;
use Yii;
class DomainRenewalQuantity extends AbstractBillQuantity
{
/**
* @inheritdoc
*/
public function getText()
$text = Yii::t('hipanel:finance', '{quantity, plural, one{# year} other{# years}}', ['quantity' => $this->getClientValue()]);
return $text;
}
public function getValue()
return $this->model->quantity;
public function getClientValue()