protected function getTablegateway(Resource\ResourceType $resourceType)
    {
        $type = $resourceType->getValue();
        
        if (!isset($this->tableGateways[$type])) {
            $this->tableGateways[$type] = new TableGateway($type, $this->zendDbAdapter);
        }
        
        return $this->tableGateways[$type];
    }
protected function getTablegateway(Resource\ResourceType $resourceType)
    {
        $type = $resourceType->getValue();
        
        if (!isset($this->tableGateways[$type])) {
            $this->tableGateways[$type] = new TableGateway($type, $this->zendDbAdapter);
        }
        
        return $this->tableGateways[$type];
    }
protected function getTablegateway ( Resource \ ResourceType $ resourceType ) { $ type = $ resourceType -> getValue ( ) ; if ( ! isset ( $ this -> tableGateways [ $ type ] ) ) { $ this -> tableGateways [ $ type ] = new TableGateway ( $ type , $ this -> zendDbAdapter ) ; } return $ this -> tableGateways [ $ type ] ; }
Get the corresponding Tablegateway of the given ResourceType

@param Resource\ResourceType $resourceType

@return TableGateway
Get the corresponding Tablegateway of the given ResourceType