Skip to content

Commit

Permalink
código de implementação
Browse files Browse the repository at this point in the history
  • Loading branch information
paulomartinhago committed Jan 26, 2014
1 parent eeccbc0 commit 8767d22
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions public/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<?php

require '../vendor/autoload.php';

use Respect\Validation\Rules as r;
use Respect\Validation\Country as c;

$country = new r\UF( new c\Brasil() );
$isSigla = $country->validate('SC');

var_dump($isSigla);

0 comments on commit 8767d22

Please sign in to comment.