Gush\Application::getConfig PHP Method

getConfig() public method

Get the application configuration.
public getConfig ( ) : Config
return Config
    public function getConfig()
    {
        return $this->config;
    }

Usage Example

Example #1
0
 /**
  * @return null|string
  */
 public function getCustomTemplate($domain)
 {
     $config = $this->application->getConfig();
     if ('pull-request-create' === $domain && null !== $config && $config->has('table-pr')) {
         return 'custom';
     }
     return;
 }
All Usage Examples Of Gush\Application::getConfig