1
0
Fork 0
mirror of synced 2024-06-03 03:14:50 +12:00
appwrite/src/Appwrite/Storage/Validator/File.php

28 lines
457 B
PHP
Raw Normal View History

2019-05-09 18:54:39 +12:00
<?php
2020-06-12 07:36:10 +12:00
namespace Appwrite\Storage\Validator;
2019-05-09 18:54:39 +12:00
use Utopia\Validator;
class File extends Validator
{
public function getDescription()
{
return 'File is not valid';
}
/**
* NOT MUCH RIGHT NOW.
2019-05-09 18:54:39 +12:00
*
* TODO think what to do here, currently only used for parameter to be present in SDKs
*
* @param mixed $name
*
2019-05-09 18:54:39 +12:00
* @return bool
*/
public function isValid($name)
{
return true;
}
}