StackFormation\Blueprint::getScript PHP 메소드

getScript() 보호된 메소드

protected getScript ( string $key ) : string
$key string
리턴 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');
    }