/**
  * Apply path on config instance.
  */
 private function resolveConfigPath()
 {
     if (is_file($this->path)) {
         $this->config->finder(new \ArrayIterator(array(new \SplFileInfo($this->path))));
     } elseif ($this->isStdIn) {
         $this->config->finder(new \ArrayIterator(array(new StdinFileInfo())));
     } elseif (null !== $this->path) {
         $this->config->setDir($this->path);
     }
 }