Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
V
verja
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Thomas Flori
verja
Commits
a4c5e055
Commit
a4c5e055
authored
7 years ago
by
Thomas Flori
Browse files
Options
Downloads
Patches
Plain Diff
added annotations for new filters and validators
parent
a1dc2597
No related branches found
Branches containing commit
Tags
v1.0.0-alpha.4
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/Filter.php
+1
-0
1 addition, 0 deletions
src/Filter.php
src/Validator.php
+2
-0
2 additions, 0 deletions
src/Validator.php
with
3 additions
and
0 deletions
src/Filter.php
+
1
−
0
View file @
a4c5e055
...
...
@@ -12,6 +12,7 @@ use Verja\Exception\FilterNotFound;
*
* @method static Filter\Boolean boolean(array $stringTrue = [], array $stringFalse = [], $overwrite = false)
* @method static Filter\Callback callback($filter)
* @method static Filter\Escape escape(bool $doubleEncode, bool $specialChars)
* @method static Filter\Integer integer()
* @method static Filter\Numeric numeric(string $decimalPoint = '.')
* @method static Filter\Replace replace($search, $replace)
...
...
This diff is collapsed.
Click to expand it.
src/Validator.php
+
2
−
0
View file @
a4c5e055
...
...
@@ -17,8 +17,10 @@ use Verja\Validator\Not;
* @method static Validator\Contains contains(string $subString)
* @method static Validator\EmailAddress emailAddress()
* @method static Validator\Equals equals(string $opposite, bool $jsonEncode = true)
* @method static Validator\InArray inArray(mixed $array)
* @method static Validator\Integer integer()
* @method static Validator\IpAddress ipAddress(string $version = 'any', string $range = 'any')
* @method static Validator\IsArray isArray(string $type)
* @method static Validator\Not not($validator)
* @method static Validator\NotEmpty notEmpty()
* @method static Validator\Numeric numeric(string $decimalPoint = '.')
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment