public function init(array $viewDirs, array $params)
    {
        $this->viewDirs = $viewDirs;
        $this->params   = $params;

        $this->parts = new ClearViewPartsCollection();
    }
public function init(array $viewDirs, array $params)
    {
        $this->viewDirs = $viewDirs;
        $this->params   = $params;

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

@param array $viewDirs
@param array $params
ClearView constructor .