Ejemplo n.º 1
0
 public function __construct()
 {
     parent::__construct(function (Query $query) {
         return $query->getProjection();
     });
 }
Ejemplo n.º 2
0
 private function application()
 {
     return new GenericApplication($this->store, ObjectAggregateFactory::staticRoot(new ObjectBasedSpec_FooAggregate()), ObjectProjectionFactory::staticProjection(new ObjectBasedSpec_FooProjection()));
 }