code: public function init(array $viewDirs, array $params)
      {
          $this->viewDirs = $viewDirs;
          $this->params   = $params;
  
          $this->parts = new ClearViewPartsCollection();
      }
docs: ClearView constructor.
  
  @param array $viewDirs
  @param array $params