private function copyPAttrForm(PlaygroundAttribute $pattr)
 {
     $pattrForm = new PAttrForm();
     $pattrForm->setId($pattr->getId());
     $pattrForm->setPid($pattr->getPlayground()->getId());
     $pattrForm->setTimeslot($pattr->getTimeslot()->getId());
     $matchdate = $pattr->getStartSchedule();
     $dateformat = $this->get('translator')->trans('FORMAT.DATE');
     $pattrForm->setDate(date_format($matchdate, $dateformat));
     $timeformat = $this->get('translator')->trans('FORMAT.TIME');
     $pattrForm->setStart(date_format($matchdate, $timeformat));
     $endtime = $pattr->getEndSchedule();
     $pattrForm->setEnd(date_format($endtime, $timeformat));
     $pattrForm->setFinals($pattr->getFinals());
     $pattrForm->setCategories($pattr->getCategories());
     return $pattrForm;
 }