for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Mbright\Validation\Rule\Validate\MySql;
/**
* Validates that data can be inserted into one of the following column types:
* - SMALLINT
*/
class SmallInt extends AbstractMySqlIntegerCase
{
* {@inheritdoc}
protected function minSignedValue()
return -32768;
}
protected function maxSignedValue()
return 32767;
protected function maxUnsignedValue()
return 65535;
protected function minUnSignedValue()
return 0;