Skip to content

Commit

Permalink
composer php
Browse files Browse the repository at this point in the history
  • Loading branch information
gabriel-logan committed Aug 23, 2023
1 parent 21fa06b commit 8f80a86
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 0 deletions.
10 changes: 10 additions & 0 deletions phpVersion/composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "gabriel-logan/multiform-validator",
"description": "Parte PHP do multiform-validator",
"type": "library",
"autoload": {
"psr-4": {
"MultiformValidator\\": "src/"
}
}
}
8 changes: 8 additions & 0 deletions phpVersion/src/Modulo1.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
namespace MeuPacote;

class Modulo1 {
public static function somaUm($num) {
return $num + 1;
}
}
8 changes: 8 additions & 0 deletions phpVersion/src/Modulo2.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?php
namespace MeuPacote;

class Modulo2 {
public static function somaDoisNumeros($num1, $num2) {
return $num1 + $num2;
}
}

0 comments on commit 8f80a86

Please sign in to comment.