StackFormation\Blueprint::getScript PHP Méthode

getScript() protected méthode

protected getScript ( string $key ) : string
$key string
Résultat string
    protected function getScript($key)
    {
        if (!isset($this->blueprintConfig[$key])) {
            return null;
        }
        $script = is_array($this->blueprintConfig[$key]) ? implode("\n", $this->blueprintConfig[$key]) : $this->blueprintConfig[$key];
        return $this->valueResolver->resolvePlaceholders($script, $this, 'script');
    }