private function setInheritedShardKey(ClassMetadata $subClass, ClassMetadata $parentClass) : void
    {
        if (! $parentClass->isSharded()) {
            return;
        }

        $subClass->setShardKey(
            $parentClass->shardKey['keys'],
            $parentClass->shardKey['options']
        );
    }
private function setInheritedShardKey(ClassMetadata $subClass, ClassMetadata $parentClass) : void
    {
        if (! $parentClass->isSharded()) {
            return;
        }

        $subClass->setShardKey(
            $parentClass->shardKey['keys'],
            $parentClass->shardKey['options']
        );
    }
private function setInheritedShardKey ( ClassMetadata $ subClass , ClassMetadata $ parentClass ) : void { if ( ! $ parentClass -> isSharded ( ) ) { return ; } $ subClass -> setShardKey ( $ parentClass -> shardKey [ 'keys' ] , $ parentClass -> shardKey [ 'options' ] ) ; }
Adds inherited shard key to the subclass mapping.
Adds inherited shard key to the subclass mapping .