Exemplo n.º 1
0
 /**
  * @param FileInterface $file
  * @return array
  */
 private function getValidateFileResult(FileInterface $file)
 {
     $check = array('File name not specified' => !$file->getName(), 'Filesize not specified' => is_null($file->getSize()), 'Created time not specified' => !$file->getCreatedTime(), 'File path already exists' => $this->fileExists($file->getPath()));
     return $check;
 }