Robo\Robo::config PHP 메소드

config() 공개 정적인 메소드

public static config ( ) : Robo\Config
리턴 Robo\Config
    public static function config()
    {
        return static::service('config');
    }

Usage Example

예제 #1
0
파일: SvnTest.php 프로젝트: jjok/Robo
 protected function _before()
 {
     $progressBar = test::double('Symfony\\Component\\Console\\Helper\\ProgressBar');
     $nullOutput = new \Symfony\Component\Console\Output\NullOutput();
     $progressIndicator = new \Robo\Common\ProgressIndicator($progressBar, $nullOutput);
     $this->svn = test::double('Robo\\Task\\Vcs\\SvnStack', ['executeCommand' => new \AspectMock\Proxy\Anything(), 'output' => $nullOutput, 'logger' => new \Psr\Log\NullLogger(), 'logger' => Robo::logger(), 'getConfig' => Robo::config(), 'progressIndicator' => $progressIndicator]);
 }
All Usage Examples Of Robo\Robo::config