src/Codec/StringCodec.php
protected function getFields(array $components)
    {
        return [
            'time_low' => str_pad($components[0], 8, '0', STR_PAD_LEFT),
            'time_mid' => str_pad($components[1], 4, '0', STR_PAD_LEFT),
            'time_hi_and_version' => str_pad($components[2], 4, '0', STR_PAD_LEFT),
            'clock_seq_hi_and_reserved' => str_pad(substr($components[3], 0, 2), 2, '0', STR_PAD_LEFT),
            'clock_seq_low' => str_pad(substr($components[3], 2), 2, '0', STR_PAD_LEFT),
            'node' => str_pad($components[4], 12, '0', STR_PAD_LEFT)
        ];
    }
protected function getFields(array $components)
    {
        return [
            'time_low' => str_pad($components[0], 8, '0', STR_PAD_LEFT),
            'time_mid' => str_pad($components[1], 4, '0', STR_PAD_LEFT),
            'time_hi_and_version' => str_pad($components[2], 4, '0', STR_PAD_LEFT),
            'clock_seq_hi_and_reserved' => str_pad(substr($components[3], 0, 2), 2, '0', STR_PAD_LEFT),
            'clock_seq_low' => str_pad(substr($components[3], 2), 2, '0', STR_PAD_LEFT),
            'node' => str_pad($components[4], 12, '0', STR_PAD_LEFT)
        ];
    }
protected function getFields ( array $ components ) { return [ 'time_low' => str_pad ( $ components [ 0 ] , 8 , '0' , STR_PAD_LEFT ) , 'time_mid' => str_pad ( $ components [ 1 ] , 4 , '0' , STR_PAD_LEFT ) , 'time_hi_and_version' => str_pad ( $ components [ 2 ] , 4 , '0' , STR_PAD_LEFT ) , 'clock_seq_hi_and_reserved' => str_pad ( substr ( $ components [ 3 ] , 0 , 2 ) , 2 , '0' , STR_PAD_LEFT ) , 'clock_seq_low' => str_pad ( substr ( $ components [ 3 ] , 2 ) , 2 , '0' , STR_PAD_LEFT ) , 'node' => str_pad ( $ components [ 4 ] , 12 , '0' , STR_PAD_LEFT ) ] ; }
Returns the fields that make up this UUID

@see \Ramsey\Uuid\UuidInterface::getFieldsHex()
@param array $components
@return array
Returns the fields that make up this UUID