src/File/RenameUpload.php
public function setEnableFileDispersion($enableFileDispersion)
    {
        $this->enableFileDispersion = (bool) $enableFileDispersion;

        if ($enableFileDispersion) {
            $this->setAllowCreateFolders(true);
            $this->setTransliterateFilename(true);
        }

        return $this;
    }
public function setEnableFileDispersion($enableFileDispersion)
    {
        $this->enableFileDispersion = (bool) $enableFileDispersion;

        if ($enableFileDispersion) {
            $this->setAllowCreateFolders(true);
            $this->setTransliterateFilename(true);
        }

        return $this;
    }
public function setEnableFileDispersion ( $ enableFileDispersion ) { $ this -> enableFileDispersion = ( bool ) $ enableFileDispersion ; if ( $ enableFileDispersion ) { $ this -> setAllowCreateFolders ( true ) ; $ this -> setTransliterateFilename ( true ) ; } return $ this ; }
Set enable files dispersion.

@param bool $enableFileDispersion

@return $this
Set enable files dispersion .