public function storeFiles(string $location = 'Data/Uploads/Temp/')
    {
        $storagePath = array();
        return $this->closure_array_walk(function ($file) use ($location, &$storagePath) {
            $storagePath[] = Files::uploadFile($file, $location);
        })($storagePath);
    }
public function storeFiles(string $location = 'Data/Uploads/Temp/')
    {
        $storagePath = array();
        return $this->closure_array_walk(function ($file) use ($location, &$storagePath) {
            $storagePath[] = Files::uploadFile($file, $location);
        })($storagePath);
    }
public function storeFiles ( string $ location = 'Data/Uploads/Temp/' ) { $ storagePath = array ( ) ; return $ this -> closure_array_walk ( function ( $ file ) use ( $ location , & $ storagePath ) { $ storagePath [ ] = Files :: uploadFile ( $ file , $ location ) ; } ) ( $ storagePath ) ; }
storeFiles attempts to store files currently in the storage set
@param string $location the location to store the files
@return array|mixed
@throws PublicAlert if the files fail to be stored
storeFiles attempts to store files currently in the storage set