Ejemplo n.º 1
0
 public function addFeature(AbstractFeature $feature)
 {
     if ($this->tableGateway instanceof TableGatewayInterface) {
         $feature->setTableGateway($this->tableGateway);
     }
     $this->features[] = $feature;
     return $this;
 }
Ejemplo n.º 2
0
 public function addFeature(AbstractFeature $feature)
 {
     $this->features[] = $feature;
     $feature->setTableGateway($feature);
     return $this;
 }