concrete/controllers/dialog/file/import.php
protected function setCurrentFolder(FileFolder $value = null)
    {
        if ($value !== $this->currentFolder) {
            $this->currentFolder = $value;
            $this->currentFolderPermissions = null;
        }

        return $this;
    }
protected function setCurrentFolder(FileFolder $value = null)
    {
        if ($value !== $this->currentFolder) {
            $this->currentFolder = $value;
            $this->currentFolderPermissions = null;
        }

        return $this;
    }
protected function setCurrentFolder ( FileFolder $ value = null ) { if ( $ value !== $ this -> currentFolder ) { $ this -> currentFolder = $ value ; $ this -> currentFolderPermissions = null ; } return $ this ; }
Set the current folder.

@param \Concrete\Core\Tree\Node\Type\FileFolder|null $value null if global folder, FileFolder instance otherwise

@return $this
Set the current folder .