├── .editorconfig ├── .gitignore ├── .php_cs ├── .scrutinizer.yml ├── .travis.yml ├── LICENSE.md ├── README.md ├── composer.json ├── phpstan.neon ├── phpunit.xml ├── src ├── Eloquent │ └── TypeSafeCollection.php └── Exceptions │ └── InvalidOperationException.php └── tests ├── Data ├── Comment.php ├── CommentCollection.php ├── User.php └── UserCollection.php ├── Feature ├── AddTest.php ├── AvgTest.php ├── ChunkTest.php ├── CollapseTest.php ├── CombineTest.php ├── ConstructorTest.php ├── ContainsStrictTest.php ├── ContainsTest.php ├── CountByTest.php ├── CrossJoinTest.php ├── DiffAssocTest.php ├── DiffAssocUsingTest.php ├── DiffKeysTest.php ├── DiffKeysUsingTest.php ├── DiffTest.php ├── DiffUsingTest.php ├── DumpTest.php ├── DuplicatesStrictTest.php ├── DuplicatesTest.php ├── EachTest.php ├── ExceptTest.php ├── FilterTest.php ├── FlipTest.php ├── GroupByTest.php ├── KeysTest.php ├── MakeTest.php ├── MapIntoTest.php ├── MapTest.php ├── MapToDictionaryTest.php ├── MapToGroupsTest.php ├── MapWithKeysTest.php ├── MedianTest.php ├── MergeTest.php ├── ModeTest.php ├── OffsetSetTest.php ├── PartitionTest.php ├── PrependTest.php ├── PushTest.php ├── TimesTest.php ├── UnionTest.php ├── WrapTest.php └── ZipTest.php └── TestCase.php /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/.gitignore -------------------------------------------------------------------------------- /.php_cs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/.php_cs -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/.scrutinizer.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/composer.json -------------------------------------------------------------------------------- /phpstan.neon: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/phpstan.neon -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Eloquent/TypeSafeCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/src/Eloquent/TypeSafeCollection.php -------------------------------------------------------------------------------- /src/Exceptions/InvalidOperationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/src/Exceptions/InvalidOperationException.php -------------------------------------------------------------------------------- /tests/Data/Comment.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Data/Comment.php -------------------------------------------------------------------------------- /tests/Data/CommentCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Data/CommentCollection.php -------------------------------------------------------------------------------- /tests/Data/User.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Data/User.php -------------------------------------------------------------------------------- /tests/Data/UserCollection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Data/UserCollection.php -------------------------------------------------------------------------------- /tests/Feature/AddTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/AddTest.php -------------------------------------------------------------------------------- /tests/Feature/AvgTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/AvgTest.php -------------------------------------------------------------------------------- /tests/Feature/ChunkTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/ChunkTest.php -------------------------------------------------------------------------------- /tests/Feature/CollapseTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/CollapseTest.php -------------------------------------------------------------------------------- /tests/Feature/CombineTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/CombineTest.php -------------------------------------------------------------------------------- /tests/Feature/ConstructorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/ConstructorTest.php -------------------------------------------------------------------------------- /tests/Feature/ContainsStrictTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/ContainsStrictTest.php -------------------------------------------------------------------------------- /tests/Feature/ContainsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/ContainsTest.php -------------------------------------------------------------------------------- /tests/Feature/CountByTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/CountByTest.php -------------------------------------------------------------------------------- /tests/Feature/CrossJoinTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/CrossJoinTest.php -------------------------------------------------------------------------------- /tests/Feature/DiffAssocTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/DiffAssocTest.php -------------------------------------------------------------------------------- /tests/Feature/DiffAssocUsingTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/DiffAssocUsingTest.php -------------------------------------------------------------------------------- /tests/Feature/DiffKeysTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/DiffKeysTest.php -------------------------------------------------------------------------------- /tests/Feature/DiffKeysUsingTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/DiffKeysUsingTest.php -------------------------------------------------------------------------------- /tests/Feature/DiffTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/DiffTest.php -------------------------------------------------------------------------------- /tests/Feature/DiffUsingTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/DiffUsingTest.php -------------------------------------------------------------------------------- /tests/Feature/DumpTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/DumpTest.php -------------------------------------------------------------------------------- /tests/Feature/DuplicatesStrictTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/DuplicatesStrictTest.php -------------------------------------------------------------------------------- /tests/Feature/DuplicatesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/DuplicatesTest.php -------------------------------------------------------------------------------- /tests/Feature/EachTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/EachTest.php -------------------------------------------------------------------------------- /tests/Feature/ExceptTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/ExceptTest.php -------------------------------------------------------------------------------- /tests/Feature/FilterTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/FilterTest.php -------------------------------------------------------------------------------- /tests/Feature/FlipTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/FlipTest.php -------------------------------------------------------------------------------- /tests/Feature/GroupByTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/GroupByTest.php -------------------------------------------------------------------------------- /tests/Feature/KeysTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/KeysTest.php -------------------------------------------------------------------------------- /tests/Feature/MakeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/MakeTest.php -------------------------------------------------------------------------------- /tests/Feature/MapIntoTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/MapIntoTest.php -------------------------------------------------------------------------------- /tests/Feature/MapTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/MapTest.php -------------------------------------------------------------------------------- /tests/Feature/MapToDictionaryTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/MapToDictionaryTest.php -------------------------------------------------------------------------------- /tests/Feature/MapToGroupsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/MapToGroupsTest.php -------------------------------------------------------------------------------- /tests/Feature/MapWithKeysTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/MapWithKeysTest.php -------------------------------------------------------------------------------- /tests/Feature/MedianTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/MedianTest.php -------------------------------------------------------------------------------- /tests/Feature/MergeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/MergeTest.php -------------------------------------------------------------------------------- /tests/Feature/ModeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/ModeTest.php -------------------------------------------------------------------------------- /tests/Feature/OffsetSetTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/OffsetSetTest.php -------------------------------------------------------------------------------- /tests/Feature/PartitionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/PartitionTest.php -------------------------------------------------------------------------------- /tests/Feature/PrependTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/PrependTest.php -------------------------------------------------------------------------------- /tests/Feature/PushTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/PushTest.php -------------------------------------------------------------------------------- /tests/Feature/TimesTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/TimesTest.php -------------------------------------------------------------------------------- /tests/Feature/UnionTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/UnionTest.php -------------------------------------------------------------------------------- /tests/Feature/WrapTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/WrapTest.php -------------------------------------------------------------------------------- /tests/Feature/ZipTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/Feature/ZipTest.php -------------------------------------------------------------------------------- /tests/TestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/webparking/laravel-type-safe-collection/HEAD/tests/TestCase.php --------------------------------------------------------------------------------