framework/RedKiteCms/Content/SlotsManager/SlotsManagerFactory.php
public function createSlotManager($repeat)
    {
        $repeatedNormalized = ucfirst($repeat);
        $slotsManager = 'RedKiteCms\Content\SlotsManager\SlotsManager' . $repeatedNormalized;
        if (!class_exists($slotsManager)) {
            throw new RuntimeException(
                sprintf("SlotsManagerFactory cannot instantiate the SlotsManager%s object", $repeatedNormalized)
            );
        }

        $dataDir = $this->configurationHandler->dataDir();
        $siteName = $this->configurationHandler->siteName();

        return new $slotsManager($dataDir, $siteName);
    }
public function createSlotManager($repeat)
    {
        $repeatedNormalized = ucfirst($repeat);
        $slotsManager = 'RedKiteCms\Content\SlotsManager\SlotsManager' . $repeatedNormalized;
        if (!class_exists($slotsManager)) {
            throw new RuntimeException(
                sprintf("SlotsManagerFactory cannot instantiate the SlotsManager%s object", $repeatedNormalized)
            );
        }

        $dataDir = $this->configurationHandler->dataDir();
        $siteName = $this->configurationHandler->siteName();

        return new $slotsManager($dataDir, $siteName);
    }
{@inheritdoc}