예제 #1
0
파일: Ant.php 프로젝트: undercloud/ant
 /**
  * Setup engine
  *
  * @param array $settings settings
  *
  * @return Ant\Ant
  */
 public function setup(array $settings)
 {
     self::$settings = new Settings($settings);
     self::$cache = new Cache($settings['cache']);
     self::$plugin = new Plugin($this);
     Fn::apply($this);
     return $this;
 }