1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00
appwrite/src/Appwrite/Storage/Validators/File.php
2020-03-24 19:56:32 +02:00

28 lines
459 B
PHP

<?php
namespace Appwrite\Storage\Validators;
use Utopia\Validator;
class File extends Validator
{
public function getDescription()
{
return 'File is not valid';
}
/**
* NOT MUCH RIGHT NOW.
*
* TODO think what to do here, currently only used for parameter to be present in SDKs
*
* @param string $name
*
* @return bool
*/
public function isValid($name)
{
return true;
}
}