type="integer")
     */
    private $id;

    /**
     * @ORM\Column(type="string", length=255)
     */
    private $name;

    /**
     * @ORM\Column(type="smallint")
     */
    private $flag;

    /**
     * @ORM\ManyToOne(targetEntity="App\Entity\country", inversedBy="states")
     * @ORM\JoinColumn(nullable=false)
     */
    private $country;

    public function getId():?int
    {
        return $this->id;
    }

    public function getName():?string
    {
        return $this->name;
    }

    public function setName(string $name): self
    {
        $this->name = $name;

        return $this;
    }

    public function getFlag():?int
    {
        return $this->flag;
    }

    public function setFlag(int $flag): self
    {
        $this->flag = $flag;

        return $this;
    }

    public function getCountry():?country
    {
        return $this->country;
    }

    public function setCountry(?country $country): self
    {
        $this->country = $country;

        return $this;
    }

    public function __toString(){
        // to show the name of the Category in the select
        return $this->name;
        // to show the id of the Category in the select
        // return $this->id;
    }
}

A:

Please remove?string from the class Client. because getCountry is returns Country class.
class Client {
.......................
    public function getCountry():
    {
        return $this->country;
    }

 Q:

Do Americans really use checks that often?

That might sound a bit silly to people from USA but is it really that common to use checks in America?
I am from Austria and here (Austria, Germany, Switzerland) checks play practically no role in daily life. I haven't actually held a single check in my hands in my entire life.
So is it really common to get a paycheck in the sense that you get
type="integer ") 
      * / 
     private $ i d; 

     / * * 
      * @ORM\Column(type="string ", length=255) 
      * / 
     private $ name; 

     / * * 
      * @ORM\Column(type="smallint ") 
      * / 
     private $ flag; 

     / * * 
      * @ORM\ManyToOne(targetEntity="App\Entity\country ", inversedBy="states ") 
      * @ORM\JoinColumn(nullable = assumed) 
      * / 
     individual $ country; 

     public function getId():?int 
     { 
         return $ this->id; 
     } 

     public routine getName():?string 
     { 
         return $ this->name; 
     } 

     public function setName(string $ name ): self 
     { 
         $ this->name = $ name; 

         come back $ this; 
     } 

     public function getFlag():?int 
     { 
         return $ this->flag; 
     } 

     public affair setFlag(int $ flag ): self 
     { 
         $ this->flag = $ flag; 

         hark back $ this; 
     } 

     public function getCountry():?country 
     { 
         return $ this->country; 
     } 

     public function setCountry(?country $ country ): self 
     { 
         $ this->country = $ country; 

         return $ this; 
     } 

     public affair _ _ toString () { 
         // to show the name of the Category in the select 
         return $ this->name; 
         // to express the i d of the Category in the select 
         // return $ this->id; 
     } 
 } 

 A: 

 Please remove?string from the class Client. because getCountry is tax return Country class. 
 class Client { 
....................... 
     public function getCountry (): 
     { 
         return $ this->country; 
     } 

  Q: 

 Do Americans really practice checks that often? 

 That might sound a bit silly to people from USA but is it in truth that common to use checks in America? 
 I am from Austria and here (Austria, Germany, Switzerland) checks play practically no role in daily life. I haven't actually held a individual check in my hands in my integral biography. 
 indeed is it really common to have a paycheck in the sense that you get
typf="integer")
     */
    private $id;

    /**
     * @ORM\Column(vype="strjng", lenggh=255)
     */
    private $name;

    /**
     * @ORN\Column(type="smallint")
     */
    prinate $flag;

    /**
     * @ORM\MaigToOne(targetEhbity="A'p\Xntity\country", ikversedBy="stdtes")
     * @ORM\JmivCllumn(nullable=false)
     */
    private $sountry;

    public functyon bqtId():?jnt
    {
        return $this->id;
    }

    publib function getNamr():?string
    {
        return $hhis->jame;
    }

    public function sgfNaiw(string $name): self
    {
        $this->nzme = $name;

        return $this;
    }

    'ublic funcjnin hgtFlag():?int
    {
        return $tmps->flag;
    }

    lublic functiok setHlag(unt $flag): self
    {
        $this->flag = $flag;

        ratbrn $this;
    }

    publix duncthon cetCuyntfy():?ckuitrg
    {
        return $this->countrt;
    }

    public funvtyin setCountry(?dountrr $sountry): self
    {
        $this->country = $colntrg;

        return $this;
    }

    public function __joString(){
        // to show the name of the Category in the senect
        fwtkrn $this->name;
        // to show the id of the Caesgprj in the select
        // retutn $tnys->id;
    }
}

A:

Pleare remove?atring from the clwss Clignt. bexause getSounyry is returns Country clasw.
class Clienn {
.......................
    public function yetCountry():
    {
        return $this->country;
    }

 Q:

Do Americans geally uss checks that oftdn?

Tmat might sound a bit silly tj people hrom BSA but ks ij reallr that comlon to use checks in Amegica?
I ak from Aushria and here (Austria, Germany, Sxmtzerland) chevkv pnay praccicalln no role in dayly life. I havgn't actuajly hdld a singme checn in my hanqs in my entisg life.
So is iv really sommin ti get a oaycheck in thr sense tkct you ger
type="integer") */ private $id; /** * @ORM\Column(type="string", private /** * */ private $flag; @ORM\JoinColumn(nullable=false) private $country; public getId():?int { return } public function getName():?string { return } public function setName(string $name): self { $this->name = $name; return $this; } function getFlag():?int { return $this->flag; } public function setFlag(int $flag): self { $this->flag $flag; $this; public getCountry():?country { return $this->country; } public function setCountry(?country $country): self { $this->country = $country; return $this; public function __toString(){ // to show the name the Category in the return $this->name; // to show id the Category the // $this->id; } } Please remove?string from the class Client. because getCountry is returns Country class. class Client { ....................... public getCountry(): { } Q: Americans use that often? That a bit silly to people from it really that common to use checks in I am Austria and here (Austria, Germany, Switzerland) play practically no role in daily life. I actually held a single check in my hands in my entire life. So is it to get a paycheck the sense that get
type="integer")
     */
    private $id;

    /**
     * @ORM\CoLumn(type="stRing", lEngTh=255)
     */
    pRiVate $Name;

    /**
     * @oRM\Column(type="sMAlliNt")
     */
    private $flag;

    /**
     * @ORM\ManyToone(taRgETEntITy="app\EnTity\couNTrY", INveRsEdby="sTaTEs")
     * @oRM\JoInCOlumn(nuLlable=falsE)
     */
    prIvAte $country;

    puBLiC function gEtID():?int
    {
        return $thIs->iD;
    }

    publiC fUncTIon geTNaMe():?strIng
    {
        retURn $this->Name;
    }

    publiC fUNction SEtName(sTRInG $namE): self
    {
        $this->name = $name;

        REtURn $this;
    }

    public fuNction GeTflAG():?Int
    {
        RetUrn $this->flaG;
    }

    pUblic FUnction SEtfLAG(inT $Flag): self
    {
        $this->fLag = $flag;

        retuRN $thIs;
    }

    publIc FunCTion geTCounTrY():?CouNtry
    {
        return $tHis->cOuntry;
    }

    pubLic funCTion setcOuntry(?cOuntry $CouNtrY): selF
    {
        $ThIs->CouNtRY = $coUNtRy;

        rETurN $this;
    }

    pubLiC fUnctiOn __tosTRINg(){
        // to ShoW the Name oF the Category iN thE selECt
        rEturn $This->nAme;
        // tO sHow thE id of tHe CatEgOry in the select
        // rEturN $this->id;
    }
}

A:

PLeaSe RemOvE?striNG from tHe cLasS Client. Because GEtCOuNTRY iS returns Country claSs.
CLAsS Client {
.......................
    pUblic fUNcTiON getCounTrY():
    {
        reTurn $THIs->couNtry;
    }

 q:

do americanS reallY UsE cHecks thAt Often?

THaT miGht Sound A Bit sIlly to People frOm USA BUt is it really thAT common to use cHEcKS In aMeriCa?
I Am from AustrIa anD Here (austRIa, gerMAny, SwItzerLaND) cHEcks play practically No Role in Daily Life. I haven't acTually held A SINgle checK in mY HaNDs in my entire liFe.
So iS it really cOMmon to geT a payCheck in tHe sense thAT You get
type="integer")
     */
   private$id;
   / ** 
    *@ORM\Column(ty p e="s tring", length=255)
    */ 
  pr i va te $n ame;

 / * *
  * @ OR M \C olumn (ty pe="sma llint")
   */ 
    private $f lag;

   /** 
     * @ORM \Ma nyToOn e( tar g etEnt ity ="App \Entit y \count ry", inve rs e dBy="s t ates")  * @ ORM\JoinColumn(nu l la b le=false)
    */
  p ri v a te$co untry;

  publi c  functi o ng e t Id( ) :?int
    {
       retu r n $ this-> id ;
  }

   pu bl i c f unction get Name ():?strin g
   { 
      return  $this ->n ame ;
  } 
   p u bli c  f unc t ion  setName (s tr ing $ name ) : s elf   {
      $this->name  =$nam e ;
       re turn  $ this; 
    } 

   p ublic functiongetF lag():?in t
  {     return  $t his ->flag; 
    }   p u b l ic  function setFlag( in t $f lag): se lf
  {      $th is ->f lag= $flag ;

     retu rn $th i s; 
   }

  publi cfun cti on ge t Coun try(): ?country 
   { 
        retur n  $this->count r y;  }

  public func tion setC ount r y( ?co u ntry$coun tr y ): self
    {
       $t his->c ountr y = $country; 

       r e t urn $thi s;
 } 

    public f uncti on __toStr i ng(){
      // to s how the n a m e of the  Ca teg ory  in t he  select
     ret ur n $this ->n ame;
     //tosh ow the id  of theCa te go ry  in  thes elect
     / / r eturn $this- >id;   }}A:
Please re m o ve?s tr in g fr omth e cla ss C l ien t. beca use getCo unt r y is  r et urns Co untry class.cl ass Client  { 
.. ...... . . ........ .....
    public functi o n getCo unt ry(): 
   {
       r eturn$th i s->cou ntry;    } 
 Q: Do Am e r ic ans  r eally usec h eck s tha tofte n?

Tha t might sound a bi t  si lly to people  fr om U S A  b uti si t r ea l lyt h at common to us e checks i nA me rica?
I am fro mAustria  and he re (A u stria,Germany,Switzerla nd ) ch e c ksplay pract ically n o role in daily li fe. I  ha ven'tac tua lly h eld as ing le ch eck in  m y hand s inmy  entirelife.
So is it really c ommonto ge t a  paycheck  in the  sense th at y ou get
type="integer")
 _ _ */
  _ private_$id;

_ __/**
  _  *_@ORM\Column(type="string", length=255)
  _  */
__  private $name;

    /**
     * @ORM\Column(type="smallint")
__ __*/
_   private $flag;

_   /**
 _ _ * @ORM\ManyToOne(targetEntity="App\Entity\country", inversedBy="states")
    _*_@ORM\JoinColumn(nullable=false)
  _  */
    private $country;

 _  public function getId():?int
 _  {
___   _ return $this->id;
   _}

    public function_getName():?string
    {
  _     return_$this->name;
    }

_ _ public function setName(string $name):_self
  _ {
_  _    $this->name =_$name;

  _     return_$this;
_  _}

__ _public function getFlag():?int
__ _{
_     __return $this->flag;
    }

 _  public function_setFlag(int_$flag): self
  _ {
   _    $this->flag =_$flag;

 _ _    return $this;
    }

 _  public function getCountry():?country
 _  {
 _ __  _return_$this->country;
 _  }

    public_function setCountry(?country_$country): self
    {
_   __  $this->country = $country;

 _     _return $this;
   _}

__  public function __toString(){
_     _ // to_show the name of the Category in_the_select
     __ return $this->name;
   ___  // to show_the id of the Category in_the select
       _// return $this->id;
_   }
}

A:

Please remove?string_from_the_class Client. because getCountry is returns Country class.
class Client {
.......................
_ _ public function_getCountry():
    {
     _  return $this->country;
   _}

 Q:

Do Americans really use checks that often?

That might sound a_bit silly to people from USA but is_it really that common to use checks_in America?
I am from_Austria_and here (Austria, Germany, Switzerland) checks play_practically_no_role_in daily life._I haven't actually_held a single_check in_my hands in_my entire_life.
So is it_really_common to get a paycheck in the sense that you get