Beispiel #1
0
 public function Run(Storm $BloggingStorm)
 {
     $BlogRepository = $BloggingStorm->GetRepository(Entities\Blog::GetType());
     $TagRepository = $BloggingStorm->GetRepository(Entities\Tag::GetType());
     $AuthorRepository = $BloggingStorm->GetRepository(Entities\Author::GetType());
     $Action = self::Retreive;
     $Amount = 1;
     $Last;
     for ($Count = 0; $Count < $Amount; $Count++) {
         $Last = $this->Act($Action, $BloggingStorm, $BlogRepository, $AuthorRepository, $TagRepository);
     }
     return $Last;
 }
 protected function EntityMap(Object\Domain $Domain)
 {
     return $Domain->GetEntityMap(Blog::GetType());
 }
Beispiel #3
0
 protected function EntityType()
 {
     return Blog::GetType();
 }