public function getDataVencimento($format = 'd/m/Y') { return $this->dataVencimento instanceof Carbon ? $format === false ? $this->dataVencimento : $this->dataVencimento->format($format) : null; }