Spanner/src/Operation.php
private function partitionOptions(array $options)
    {
        $options['partitionOptions'] = array_filter([
            'partitionSizeBytes' => $this->pluck('partitionSizeBytes', $options, false),
            'maxPartitions' => $this->pluck('maxPartitions', $options, false)
        ]);

        return $options;
    }
private function partitionOptions(array $options)
    {
        $options['partitionOptions'] = array_filter([
            'partitionSizeBytes' => $this->pluck('partitionSizeBytes', $options, false),
            'maxPartitions' => $this->pluck('maxPartitions', $options, false)
        ]);

        return $options;
    }
private function partitionOptions ( array $ options ) { $ options [ 'partitionOptions' ] = array_filter ( [ 'partitionSizeBytes' => $ this -> pluck ( 'partitionSizeBytes' , $ options , false ) , 'maxPartitions' => $ this -> pluck ( 'maxPartitions' , $ options , false ) ] ) ; return $ options ; }
Normalize options for partition configuration.

@param array $options
@return array
Normalize options for partition configuration .