Commit with composer.json

This commit is contained in:
2014-05-27 17:56:46 +04:00
parent c62620593f
commit aec1a60985
20 changed files with 70 additions and 46 deletions

View File

@ -7,7 +7,7 @@
* @since 2010-04-26
*/
class EqualValidator extends Validator
class EqualValidator extends \Majestic\Validator
{
const NOT_EQUAL = 'not_match';

View File

@ -9,7 +9,7 @@
*
*/
class MbStrlenValidator extends Validator
class MbStrlenValidator extends \Majestic\Validator
{
const GREATHER_THAN = 'not_match';

View File

@ -7,7 +7,7 @@
* @since 2010-04-26
*/
class NotEmptyValidator extends Validator
class NotEmptyValidator extends \Majestic\Validator
{
const IS_EMPTY = 'is_empty';

View File

@ -7,7 +7,7 @@
* @since 2010-04-26
*/
class RegexValidator extends Validator
class RegexValidator extends \Majestic\Validator
{
const NOT_MATCH = 'regex_not_match';

View File

@ -9,7 +9,7 @@
*
*/
class StrlenValidator extends Validator
class StrlenValidator extends \Majestic\Validator
{
const GREATHER_THAN = 'not_match';

View File

@ -7,6 +7,8 @@
* @since 2010-04-24
*/
namespace Majestic;
abstract class Validator implements iValidator
{

View File

@ -7,6 +7,8 @@
* @since 2010-04-25
*/
namespace Majestic;
interface iValidator
{
public function isValid($value, $context = null);