dompdfmodule\Module::getConfig PHP 메소드

getConfig() 공개 메소드

public getConfig ( ) : array
리턴 array
    public function getConfig()
    {
        return include __DIR__ . '/../../config/module.config.php';
    }

Usage Example

예제 #1
0
 public function testHasConfig()
 {
     $config = $this->module->getConfig();
     // Test the obvious required keys.
     $this->assertArrayHasKey('dompdf_module', $config, 'dompdf_module');
     $this->assertArrayHasKey('service_manager', $config, 'service_manager');
 }
All Usage Examples Of dompdfmodule\Module::getConfig