Altax\Foundation\Container::getConfigFile PHP 메소드

getConfigFile() 공개 메소드

public getConfigFile ( $key )
    public function getConfigFile($key)
    {
        return isset($this->configFiles[$key]) ? $this->configFiles[$key] : null;
    }

Usage Example

예제 #1
0
 public function testSetConfigFIle()
 {
     $container = new Container();
     $container->setConfigFile("home", "path/to/config.php");
     $this->assertEquals("path/to/config.php", $container->getConfigFile("home"));
 }