public function getBlueprintByStack(Stack $stack) { $blueprintName = $stack->getBlueprintName(); return $this->getBlueprint($blueprintName); }