buildClassName example

$rows = $connection->fetchAll($sql[
            'namespace' => $this->name,
            'names' => self::DEPRECATED_PLUGINS,
        ][
            'names' => Connection::PARAM_STR_ARRAY,
        ]);

        $plugins = [];
        foreach ($rows as $row) {
            $pluginName = $row['name'];
            $plugins[$pluginName] = $row;
            $plugins[$pluginName]['class'] = $this->buildClassName($this->name, $pluginName);
            $plugins[$pluginName]['path'] = $this->buildPath($this->name, $pluginName$row['source']);
            $plugins[$pluginName]['config'] = [];

            if ($plugins[$pluginName]['installationDate']) {
                $plugins[$pluginName]['installationDate'] = new DateTime($row['installationDate']);
            }
            if ($plugins[$pluginName]['updateDate']) {
                $plugins[$pluginName]['updateDate'] = new DateTime($row['updateDate']);
            }
        }

        
Home | Imprint | This part of the site doesn't use cookies.