Ejemplo n.º 1
0
 /**
  * @return Performer
  */
 public function getPerformer()
 {
     // Original perf data from persistent layer
     $performer = new Performer($this->getPerformerDo());
     $studioId = $performer->getDo()->getStudioId();
     $studioProvider = new StudioProvider();
     $studio = $studioProvider->getStudio();
     // Apply studioid from the persistent layer
     $studio->getDo()->setId($studioId);
     $performer->setStudio($studio);
     return $performer;
 }
Ejemplo n.º 2
0
 /**
  * @return Studio
  */
 private function getStudio()
 {
     $provider = new StudioProvider();
     return $provider->getStudio();
 }