/**
* @param string|null $subDirectory
*
* @return string
*/
protected function getUploadRootDir($subDirectory = null)
{
// the absolute directory path where uploaded
// documents should be saved
if ($subDirectory !== null) {
return parent::getUploadRootDir() . '/' . $subDirectory;
}
return parent::getUploadRootDir();
}