protected function toFlavor(NodeSize $nodeSize) { return $this->service->flavor($nodeSize->getId()); }