src/Map.php
public function parse(array $map)
    {
        $this->logger->info('Swivel - Parsing feature map.', compact('map'));

        return array_combine(array_keys($map), array_map([$this, 'reduceToBitmask'], $map));
    }
public function parse(array $map)
    {
        $this->logger->info('Swivel - Parsing feature map.', compact('map'));

        return array_combine(array_keys($map), array_map([$this, 'reduceToBitmask'], $map));
    }
Parse a human readable map into a map of bitmasks.

@param array $map

@return array