/** * @param int $identificator * @param \DateTime $dateFrom * @param \DateTime $dateTo */ public function __construct($identificator, \DateTime $dateFrom = null, \DateTime $dateTo = null) { $this->key = 'net'; $this->valueRepo = new AccountTwrValueRepo(); parent::__construct($identificator, $dateFrom, $dateTo); }
/** * @param int $identificator * @param \DateTime $dateFrom * @param \DateTime $dateTo */ public function __construct($identificator, \DateTime $dateFrom = null, \DateTime $dateTo = null) { $this->key = 'gross'; $this->valueRepo = new PortfolioTwrValueRepo(); parent::__construct($identificator, $dateFrom, $dateTo); }