-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add collection for somes PHP classes
- Loading branch information
Showing
60 changed files
with
919 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectCollection<\DateInterval> */ | ||
class DateIntervalCollection extends AbstractObjectCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \DateInterval::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectNullableCollection<\DateInterval|null> */ | ||
class DateIntervalNullableCollection extends AbstractObjectNullableCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \DateInterval::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectCollection<\DatePeriod> */ | ||
class DatePeriodCollection extends AbstractObjectCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \DatePeriod::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectNullableCollection<\DatePeriod|null> */ | ||
class DatePeriodNullableCollection extends AbstractObjectNullableCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \DatePeriod::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectCollection<\DateTime> */ | ||
class DateTimeCollection extends AbstractObjectCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \DateTime::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectCollection<\DateTimeImmutable> */ | ||
class DateTimeImmutableCollection extends AbstractObjectCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \DateTimeImmutable::class; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/ObjectCollection/DateTimeImmutableNullableCollection.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectNullableCollection<\DateTimeImmutable|null> */ | ||
class DateTimeImmutableNullableCollection extends AbstractObjectNullableCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \DateTimeImmutable::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectNullableCollection<\DateTime|null> */ | ||
class DateTimeNullableCollection extends AbstractObjectNullableCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \DateTime::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectCollection<\DateTimeZone> */ | ||
class DateTimeZoneCollection extends AbstractObjectCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \DateTimeZone::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectNullableCollection<\DateTimeZone|null> */ | ||
class DateTimeZoneNullableCollection extends AbstractObjectNullableCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \DateTimeZone::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectCollection<\ReflectionAttribute<object>> */ | ||
class ReflectionAttributeCollection extends AbstractObjectCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \ReflectionAttribute::class; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/ObjectCollection/ReflectionAttributeNullableCollection.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectNullableCollection<\ReflectionAttribute<object>|null> */ | ||
class ReflectionAttributeNullableCollection extends AbstractObjectNullableCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \ReflectionAttribute::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectCollection<\ReflectionClass<object>> */ | ||
class ReflectionClassCollection extends AbstractObjectCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \ReflectionClass::class; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/ObjectCollection/ReflectionClassConstantCollection.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectCollection<\ReflectionClassConstant> */ | ||
class ReflectionClassConstantCollection extends AbstractObjectCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \ReflectionClassConstant::class; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/ObjectCollection/ReflectionClassConstantNullableCollection.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectNullableCollection<\ReflectionClassConstant|null> */ | ||
class ReflectionClassConstantNullableCollection extends AbstractObjectNullableCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \ReflectionClassConstant::class; | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
src/ObjectCollection/ReflectionClassNullableCollection.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectNullableCollection<\ReflectionClass<object>|null> */ | ||
class ReflectionClassNullableCollection extends AbstractObjectNullableCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \ReflectionClass::class; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<?php | ||
|
||
declare(strict_types=1); | ||
|
||
namespace Steevanb\PhpCollection\ObjectCollection; | ||
|
||
/** @extends AbstractObjectCollection<\Reflection> */ | ||
class ReflectionCollection extends AbstractObjectCollection | ||
{ | ||
public static function getValueFqcn(): string | ||
{ | ||
return \Reflection::class; | ||
} | ||
} |
Oops, something went wrong.