Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Validator/Validator.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

namespace Romenys\Framework\Validator;

class Validator
class Validator implements ValidatorInterface
{
/**
* @var string
Expand Down
16 changes: 16 additions & 0 deletions Validator/ValidatorInterface.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?php

namespace Romenys\Framework\Validator;

Interface ValidatorInterface
{
/**
* @return mixed
*/
public function isValid();

/**
* @return mixed
*/
public function getErrors();
}