Skip to content

Commit dc056f7

Browse files
committed
main Updated src/DataModelHelper.php.
1 parent e93cf37 commit dc056f7

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/DataModelHelper.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ public static function mapOf(mixed $value, array $context, ?ReflectionAttribute
112112
* 'required', // Throws PropertyRequiredException when value not present.
113113
* ])]
114114
* ```
115+
*
116+
* @link https://github.com/zero-to-prod/data-model-helper
115117
*/
116118
public static function pregReplace(mixed $value, array $context, ?ReflectionAttribute $Attribute, ReflectionProperty $Property): array|string|null
117119
{
@@ -146,6 +148,8 @@ public static function pregReplace(mixed $value, array $context, ?ReflectionAttr
146148
* 'required', // Throws PropertyRequiredException when value not present.
147149
* ])]
148150
* ```
151+
*
152+
* @link https://github.com/zero-to-prod/data-model-helper
149153
*/
150154
public static function pregMatch(mixed $value, array $context, ?ReflectionAttribute $Attribute, ReflectionProperty $Property)
151155
{
@@ -186,6 +190,8 @@ public static function pregMatch(mixed $value, array $context, ?ReflectionAttrib
186190
* 'required', // Throws PropertyRequiredException when value not present.
187191
* ])]
188192
* ```
193+
*
194+
* @link https://github.com/zero-to-prod/data-model-helper
189195
*/
190196
public static function isUrl(mixed $value, array $context, ?ReflectionAttribute $Attribute, ReflectionProperty $Property): ?string
191197
{
@@ -232,6 +238,8 @@ public static function isUrl(mixed $value, array $context, ?ReflectionAttribute
232238
* 'required', // Throws PropertyRequiredException when value not present.
233239
* ])]
234240
* ```
241+
*
242+
* @link https://github.com/zero-to-prod/data-model-helper
235243
*/
236244
public static function isEmail(mixed $value, array $context, ?ReflectionAttribute $Attribute, ReflectionProperty $Property): ?string
237245
{
@@ -279,6 +287,8 @@ public static function isEmail(mixed $value, array $context, ?ReflectionAttribut
279287
* 'required', // Throws PropertyRequiredException when value not present.
280288
* ])]
281289
* ```
290+
*
291+
* @link https://github.com/zero-to-prod/data-model-helper
282292
*/
283293
public static function isMultiple(mixed $value, array $context, ?ReflectionAttribute $Attribute, ReflectionProperty $Property): ?string
284294
{
@@ -328,6 +338,8 @@ public static function isMultiple(mixed $value, array $context, ?ReflectionAttri
328338
* 'required', // Throws PropertyRequiredException when value not present.
329339
* ])]
330340
* ```
341+
*
342+
* @link https://github.com/zero-to-prod/data-model-helper
331343
*/
332344
public static function when(mixed $value, array $context, ?ReflectionAttribute $Attribute, ReflectionProperty $Property)
333345
{

0 commit comments

Comments
 (0)