protected function storeToCanonical(FeatureInterface $feature)
    {
        $name = $feature->getName();
        $was  = $this->getFeature($name);
        $new  = $feature->resolve($was);

        $this->canonical[$name] = $new;

        if ($was !== $new) {
            $this->logger->debug('New canonical feature: {feature} from {provider}, {was} -> {new}', [
                'feature'  => $name,
                'provider' => $feature->getProvider()->getName(),
                'was'      => Status::$messages[$was->getStatus()],
                'new'      => Status::$messages[$this->canonical[$name]->getStatus()]
            ]);
        }
    }