Example #1
0
 /**
  * Get all allowed extensions
  *
  * @return array
  */
 protected function getAllowedExtensions()
 {
     $result = [];
     foreach (array_keys($this->fileHelper->getAllMineTypes()) as $option) {
         $result[] = substr($option, 1);
     }
     return $result;
 }