public function makeFiles($input, array $attributes = array(), array $config = array()) {
		$files = array();
		$uploads = hypeApps()->uploader->handle($input, $attributes, $config);
		foreach ($uploads as $upload) {
			if ($upload->file instanceof \ElggEntity) {
				$files[] = $upload->file;
			}
		}
		return $files;
	}
public function makeFiles($input, array $attributes = array(), array $config = array()) {
		$files = array();
		$uploads = hypeApps()->uploader->handle($input, $attributes, $config);
		foreach ($uploads as $upload) {
			if ($upload->file instanceof \ElggEntity) {
				$files[] = $upload->file;
			}
		}
		return $files;
	}
public function makeFiles ( $ input , array $ attributes = array ( ) , array $ config = array ( ) ) { $ files = array ( ) ; $ uploads = hypeApps ( ) -> uploader -> handle ( $ input , $ attributes , $ config ) ; foreach ( $ uploads as $ upload ) { if ( $ upload -> file instanceof \ ElggEntity ) { $ files [ ] = $ upload -> file ; } } return $ files ; }
Create new file entities

@param string $input      Name of the file input
@param array  $attributes Key value pairs, such as subtype, owner_guid, metadata.
@param array  $config     Additional config
@return ElggFile[] An array of file entities created
Create new file entities