SHARE
TWEET

expanses

a guest Mar 26th, 2020 89 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php
  2.  
  3.  
  4. namespace App\Console;
  5.  
  6.  
  7. class Expense
  8. {
  9.  
  10.     private $title;
  11.     private $amount;
  12.     private $currencry;
  13.     private $description;
  14.     private $date;
  15.  
  16.     /**
  17.      * @return mixed
  18.      */
  19.     public function getTitle()
  20.     {
  21.         return $this->title;
  22.     }
  23.  
  24.     /**
  25.      * @param mixed $title
  26.      */
  27.     public function setTitle($title): string
  28.     {
  29.         $this->title = $title;
  30.     }
  31.  
  32.     /**
  33.      * @return mixed
  34.      */
  35.     public function getAmount()
  36.     {
  37.         return $this->amount;
  38.     }
  39.  
  40.     /**
  41.      * @param mixed $amount
  42.      */
  43.     public function setAmount($amount): float
  44.     {
  45.         $this->amount = $amount;
  46.     }
  47.  
  48.     /**
  49.      * @return mixed
  50.      */
  51.     public function getCurrencry()
  52.     {
  53.         return $this->currencry;
  54.     }
  55.  
  56.     /**
  57.      * @param mixed $currencry
  58.      */
  59.     public function setCurrencry($currencry): float
  60.     {
  61.         $this->currencry = $currencry;
  62.     }
  63.  
  64.     /**
  65.      * @return mixed
  66.      */
  67.     public function getDescription()
  68.     {
  69.         return $this->description;
  70.     }
  71.  
  72.     /**
  73.      * @param mixed $description
  74.      */
  75.     public function setDescription($description): string
  76.     {
  77.         $this->description = $description;
  78.     }
  79.  
  80.     /**
  81.      * @return mixed
  82.      */
  83.     public function getDate()
  84.     {
  85.         return $this->date($this->date);
  86.     }
  87.  
  88.     /**
  89.      * @param mixed $date
  90.      */
  91.     public function setDate($date): void
  92.     {
  93.         $this->date = $date;
  94.     }
  95.  
  96. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top