├── .githooks ├── init.sh └── pre-commit.sh ├── .gitignore ├── .styleci.yml ├── .travis.yml ├── LICENSE ├── Makefile ├── README.md ├── composer.json ├── docker-compose.yml ├── psalm.xml ├── ruleset.xml ├── src ├── Collections │ ├── ArrayList.php │ ├── ArrayMap.php │ ├── DataStructure.php │ ├── DataTransferObject.php │ ├── FromArrayConstructor.php │ ├── ImmutableArrayAccessTrait.php │ ├── ImmutableArrayIterator.php │ ├── ListOfFloats.php │ ├── ListOfInts.php │ ├── ListOfStrings.php │ ├── MissingValue.php │ ├── NestedViolation.php │ └── NestedViolationInterface.php ├── DateTime │ ├── DateTimeFormatViolation.php │ ├── DateTimeValue.php │ └── FromDateTimeImmutableConstructableInterface.php ├── Enum │ ├── ClassConstantsReflection.php │ ├── ConstantStringValuesEnum.php │ ├── ConstantStringValuesWeakEnum.php │ ├── NamedConstructorsEnum.php │ ├── StringEnumBase.php │ ├── StringEnumViolation.php │ └── StringEnumViolationInterface.php ├── Floats │ ├── BoundedFloat.php │ ├── FloatOutOfBounds.php │ ├── FloatTooBig.php │ ├── FloatTooSmall.php │ ├── FloatValue.php │ ├── FloatViolation.php │ └── FloatViolationInterface.php ├── ImmutableObjectTrait.php ├── Integers │ ├── BoundedInteger.php │ ├── IntegerOutOfBounds.php │ ├── IntegerTooBig.php │ ├── IntegerTooSmall.php │ ├── IntegerValue.php │ ├── IntegerViolation.php │ ├── IntegerViolationInterface.php │ ├── LowerBoundInteger.php │ ├── NegativeInteger.php │ ├── PositiveInteger.php │ ├── UnsignedInteger.php │ └── UpperBoundInteger.php ├── Standard │ └── Email │ │ ├── EmailAddress.php │ │ └── EmailAddressViolation.php ├── Strings │ ├── BoundedMbLengthString.php │ ├── BoundedRawLengthString.php │ ├── MaxMbLengthString.php │ ├── MaxRawLengthString.php │ ├── MinMbLengthString.php │ ├── MinRawLengthString.php │ ├── MultiByteString.php │ ├── RegexTemplateString.php │ ├── StringLengthOutOfBounds.php │ ├── StringLengthViolation.php │ ├── StringPatternViolation.php │ ├── StringTooLong.php │ ├── StringTooShort.php │ ├── StringValue.php │ ├── StringViolation.php │ └── StringViolationInterface.php ├── Type.php ├── Type │ ├── ArrayType.php │ ├── BoolType.php │ ├── ClassType.php │ ├── Downcasting │ │ ├── ToArrayConvertibleInterface.php │ │ ├── ToBoolConvertibleInterface.php │ │ ├── ToFloatConvertibleInterface.php │ │ ├── ToIntConvertibleInterface.php │ │ └── ToStringConvertibleInterface.php │ ├── FloatType.php │ ├── IntType.php │ ├── NullableType.php │ ├── NullableTypeExpectation.php │ ├── StringType.php │ ├── TypeExpectation.php │ ├── TypeExpectationInterface.php │ ├── TypeInterface.php │ ├── TypeViolation.php │ ├── Upcasting │ │ ├── FromAnyConstructableInterface.php │ │ ├── FromArrayConstructableInterface.php │ │ ├── FromBoolConstructableInterface.php │ │ ├── FromFloatConstructableInterface.php │ │ ├── FromIntConstructableInterface.php │ │ ├── FromObjectConstructableInterface.php │ │ └── FromStringConstructableInterface.php │ └── VoidType.php ├── Violation.php ├── ViolationException.php ├── ViolationExceptionInterface.php └── ViolationInterface.php └── tests ├── Collections ├── ArrayMapTest.php ├── DataStructureFixture.php ├── DataStructureTest.php ├── DataTransferObjectTest.php ├── FromArrayConstructorTest.php └── ListOfIntsTest.php ├── DateTime └── DateTimeValueTest.php ├── Enum ├── ConstantStringValuesEnumFixture.php ├── ConstantStringValuesEnumTest.php ├── NamedConstructorsEnumFixture.php └── NamedConstructorsEnumTest.php ├── Floats ├── BoundedFloatTest.php └── FloatValueTest.php ├── Integers ├── BoundedIntegerTest.php ├── IntegerValueTest.php └── LowerBoundIntegerTest.php ├── Strings └── StringValueTest.php ├── Type ├── ArrayTypeTest.php ├── BoolTypeTest.php ├── ClassTypeTest.php ├── FloatTypeTest.php ├── IntTypeTest.php ├── NullableTypeTest.php ├── StringTypeTest.php └── VoidTypeTest.php └── TypeTest.php /.githooks/init.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/.githooks/init.sh -------------------------------------------------------------------------------- /.githooks/pre-commit.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | 3 | make ci 4 | exit $? 5 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/.gitignore -------------------------------------------------------------------------------- /.styleci.yml: -------------------------------------------------------------------------------- 1 | preset: psr2 2 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/README.md -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/composer.json -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /psalm.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/psalm.xml -------------------------------------------------------------------------------- /ruleset.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/ruleset.xml -------------------------------------------------------------------------------- /src/Collections/ArrayList.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/ArrayList.php -------------------------------------------------------------------------------- /src/Collections/ArrayMap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/ArrayMap.php -------------------------------------------------------------------------------- /src/Collections/DataStructure.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/DataStructure.php -------------------------------------------------------------------------------- /src/Collections/DataTransferObject.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/DataTransferObject.php -------------------------------------------------------------------------------- /src/Collections/FromArrayConstructor.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/FromArrayConstructor.php -------------------------------------------------------------------------------- /src/Collections/ImmutableArrayAccessTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/ImmutableArrayAccessTrait.php -------------------------------------------------------------------------------- /src/Collections/ImmutableArrayIterator.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/ImmutableArrayIterator.php -------------------------------------------------------------------------------- /src/Collections/ListOfFloats.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/ListOfFloats.php -------------------------------------------------------------------------------- /src/Collections/ListOfInts.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/ListOfInts.php -------------------------------------------------------------------------------- /src/Collections/ListOfStrings.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/ListOfStrings.php -------------------------------------------------------------------------------- /src/Collections/MissingValue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/MissingValue.php -------------------------------------------------------------------------------- /src/Collections/NestedViolation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/NestedViolation.php -------------------------------------------------------------------------------- /src/Collections/NestedViolationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Collections/NestedViolationInterface.php -------------------------------------------------------------------------------- /src/DateTime/DateTimeFormatViolation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/DateTime/DateTimeFormatViolation.php -------------------------------------------------------------------------------- /src/DateTime/DateTimeValue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/DateTime/DateTimeValue.php -------------------------------------------------------------------------------- /src/DateTime/FromDateTimeImmutableConstructableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/DateTime/FromDateTimeImmutableConstructableInterface.php -------------------------------------------------------------------------------- /src/Enum/ClassConstantsReflection.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Enum/ClassConstantsReflection.php -------------------------------------------------------------------------------- /src/Enum/ConstantStringValuesEnum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Enum/ConstantStringValuesEnum.php -------------------------------------------------------------------------------- /src/Enum/ConstantStringValuesWeakEnum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Enum/ConstantStringValuesWeakEnum.php -------------------------------------------------------------------------------- /src/Enum/NamedConstructorsEnum.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Enum/NamedConstructorsEnum.php -------------------------------------------------------------------------------- /src/Enum/StringEnumBase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Enum/StringEnumBase.php -------------------------------------------------------------------------------- /src/Enum/StringEnumViolation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Enum/StringEnumViolation.php -------------------------------------------------------------------------------- /src/Enum/StringEnumViolationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Enum/StringEnumViolationInterface.php -------------------------------------------------------------------------------- /src/Floats/BoundedFloat.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Floats/BoundedFloat.php -------------------------------------------------------------------------------- /src/Floats/FloatOutOfBounds.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Floats/FloatOutOfBounds.php -------------------------------------------------------------------------------- /src/Floats/FloatTooBig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Floats/FloatTooBig.php -------------------------------------------------------------------------------- /src/Floats/FloatTooSmall.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Floats/FloatTooSmall.php -------------------------------------------------------------------------------- /src/Floats/FloatValue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Floats/FloatValue.php -------------------------------------------------------------------------------- /src/Floats/FloatViolation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Floats/FloatViolation.php -------------------------------------------------------------------------------- /src/Floats/FloatViolationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Floats/FloatViolationInterface.php -------------------------------------------------------------------------------- /src/ImmutableObjectTrait.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/ImmutableObjectTrait.php -------------------------------------------------------------------------------- /src/Integers/BoundedInteger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Integers/BoundedInteger.php -------------------------------------------------------------------------------- /src/Integers/IntegerOutOfBounds.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Integers/IntegerOutOfBounds.php -------------------------------------------------------------------------------- /src/Integers/IntegerTooBig.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Integers/IntegerTooBig.php -------------------------------------------------------------------------------- /src/Integers/IntegerTooSmall.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Integers/IntegerTooSmall.php -------------------------------------------------------------------------------- /src/Integers/IntegerValue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Integers/IntegerValue.php -------------------------------------------------------------------------------- /src/Integers/IntegerViolation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Integers/IntegerViolation.php -------------------------------------------------------------------------------- /src/Integers/IntegerViolationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Integers/IntegerViolationInterface.php -------------------------------------------------------------------------------- /src/Integers/LowerBoundInteger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Integers/LowerBoundInteger.php -------------------------------------------------------------------------------- /src/Integers/NegativeInteger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Integers/NegativeInteger.php -------------------------------------------------------------------------------- /src/Integers/PositiveInteger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Integers/PositiveInteger.php -------------------------------------------------------------------------------- /src/Integers/UnsignedInteger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Integers/UnsignedInteger.php -------------------------------------------------------------------------------- /src/Integers/UpperBoundInteger.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Integers/UpperBoundInteger.php -------------------------------------------------------------------------------- /src/Standard/Email/EmailAddress.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Standard/Email/EmailAddress.php -------------------------------------------------------------------------------- /src/Standard/Email/EmailAddressViolation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Standard/Email/EmailAddressViolation.php -------------------------------------------------------------------------------- /src/Strings/BoundedMbLengthString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/BoundedMbLengthString.php -------------------------------------------------------------------------------- /src/Strings/BoundedRawLengthString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/BoundedRawLengthString.php -------------------------------------------------------------------------------- /src/Strings/MaxMbLengthString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/MaxMbLengthString.php -------------------------------------------------------------------------------- /src/Strings/MaxRawLengthString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/MaxRawLengthString.php -------------------------------------------------------------------------------- /src/Strings/MinMbLengthString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/MinMbLengthString.php -------------------------------------------------------------------------------- /src/Strings/MinRawLengthString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/MinRawLengthString.php -------------------------------------------------------------------------------- /src/Strings/MultiByteString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/MultiByteString.php -------------------------------------------------------------------------------- /src/Strings/RegexTemplateString.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/RegexTemplateString.php -------------------------------------------------------------------------------- /src/Strings/StringLengthOutOfBounds.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/StringLengthOutOfBounds.php -------------------------------------------------------------------------------- /src/Strings/StringLengthViolation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/StringLengthViolation.php -------------------------------------------------------------------------------- /src/Strings/StringPatternViolation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/StringPatternViolation.php -------------------------------------------------------------------------------- /src/Strings/StringTooLong.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/StringTooLong.php -------------------------------------------------------------------------------- /src/Strings/StringTooShort.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/StringTooShort.php -------------------------------------------------------------------------------- /src/Strings/StringValue.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/StringValue.php -------------------------------------------------------------------------------- /src/Strings/StringViolation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/StringViolation.php -------------------------------------------------------------------------------- /src/Strings/StringViolationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Strings/StringViolationInterface.php -------------------------------------------------------------------------------- /src/Type.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type.php -------------------------------------------------------------------------------- /src/Type/ArrayType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/ArrayType.php -------------------------------------------------------------------------------- /src/Type/BoolType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/BoolType.php -------------------------------------------------------------------------------- /src/Type/ClassType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/ClassType.php -------------------------------------------------------------------------------- /src/Type/Downcasting/ToArrayConvertibleInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/Downcasting/ToArrayConvertibleInterface.php -------------------------------------------------------------------------------- /src/Type/Downcasting/ToBoolConvertibleInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/Downcasting/ToBoolConvertibleInterface.php -------------------------------------------------------------------------------- /src/Type/Downcasting/ToFloatConvertibleInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/Downcasting/ToFloatConvertibleInterface.php -------------------------------------------------------------------------------- /src/Type/Downcasting/ToIntConvertibleInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/Downcasting/ToIntConvertibleInterface.php -------------------------------------------------------------------------------- /src/Type/Downcasting/ToStringConvertibleInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/Downcasting/ToStringConvertibleInterface.php -------------------------------------------------------------------------------- /src/Type/FloatType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/FloatType.php -------------------------------------------------------------------------------- /src/Type/IntType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/IntType.php -------------------------------------------------------------------------------- /src/Type/NullableType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/NullableType.php -------------------------------------------------------------------------------- /src/Type/NullableTypeExpectation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/NullableTypeExpectation.php -------------------------------------------------------------------------------- /src/Type/StringType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/StringType.php -------------------------------------------------------------------------------- /src/Type/TypeExpectation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/TypeExpectation.php -------------------------------------------------------------------------------- /src/Type/TypeExpectationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/TypeExpectationInterface.php -------------------------------------------------------------------------------- /src/Type/TypeInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/TypeInterface.php -------------------------------------------------------------------------------- /src/Type/TypeViolation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/TypeViolation.php -------------------------------------------------------------------------------- /src/Type/Upcasting/FromAnyConstructableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/Upcasting/FromAnyConstructableInterface.php -------------------------------------------------------------------------------- /src/Type/Upcasting/FromArrayConstructableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/Upcasting/FromArrayConstructableInterface.php -------------------------------------------------------------------------------- /src/Type/Upcasting/FromBoolConstructableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/Upcasting/FromBoolConstructableInterface.php -------------------------------------------------------------------------------- /src/Type/Upcasting/FromFloatConstructableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/Upcasting/FromFloatConstructableInterface.php -------------------------------------------------------------------------------- /src/Type/Upcasting/FromIntConstructableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/Upcasting/FromIntConstructableInterface.php -------------------------------------------------------------------------------- /src/Type/Upcasting/FromObjectConstructableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/Upcasting/FromObjectConstructableInterface.php -------------------------------------------------------------------------------- /src/Type/Upcasting/FromStringConstructableInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/Upcasting/FromStringConstructableInterface.php -------------------------------------------------------------------------------- /src/Type/VoidType.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Type/VoidType.php -------------------------------------------------------------------------------- /src/Violation.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/Violation.php -------------------------------------------------------------------------------- /src/ViolationException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/ViolationException.php -------------------------------------------------------------------------------- /src/ViolationExceptionInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/ViolationExceptionInterface.php -------------------------------------------------------------------------------- /src/ViolationInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/src/ViolationInterface.php -------------------------------------------------------------------------------- /tests/Collections/ArrayMapTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Collections/ArrayMapTest.php -------------------------------------------------------------------------------- /tests/Collections/DataStructureFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Collections/DataStructureFixture.php -------------------------------------------------------------------------------- /tests/Collections/DataStructureTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Collections/DataStructureTest.php -------------------------------------------------------------------------------- /tests/Collections/DataTransferObjectTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Collections/DataTransferObjectTest.php -------------------------------------------------------------------------------- /tests/Collections/FromArrayConstructorTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Collections/FromArrayConstructorTest.php -------------------------------------------------------------------------------- /tests/Collections/ListOfIntsTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Collections/ListOfIntsTest.php -------------------------------------------------------------------------------- /tests/DateTime/DateTimeValueTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/DateTime/DateTimeValueTest.php -------------------------------------------------------------------------------- /tests/Enum/ConstantStringValuesEnumFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Enum/ConstantStringValuesEnumFixture.php -------------------------------------------------------------------------------- /tests/Enum/ConstantStringValuesEnumTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Enum/ConstantStringValuesEnumTest.php -------------------------------------------------------------------------------- /tests/Enum/NamedConstructorsEnumFixture.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Enum/NamedConstructorsEnumFixture.php -------------------------------------------------------------------------------- /tests/Enum/NamedConstructorsEnumTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Enum/NamedConstructorsEnumTest.php -------------------------------------------------------------------------------- /tests/Floats/BoundedFloatTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Floats/BoundedFloatTest.php -------------------------------------------------------------------------------- /tests/Floats/FloatValueTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Floats/FloatValueTest.php -------------------------------------------------------------------------------- /tests/Integers/BoundedIntegerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Integers/BoundedIntegerTest.php -------------------------------------------------------------------------------- /tests/Integers/IntegerValueTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Integers/IntegerValueTest.php -------------------------------------------------------------------------------- /tests/Integers/LowerBoundIntegerTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Integers/LowerBoundIntegerTest.php -------------------------------------------------------------------------------- /tests/Strings/StringValueTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Strings/StringValueTest.php -------------------------------------------------------------------------------- /tests/Type/ArrayTypeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Type/ArrayTypeTest.php -------------------------------------------------------------------------------- /tests/Type/BoolTypeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Type/BoolTypeTest.php -------------------------------------------------------------------------------- /tests/Type/ClassTypeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Type/ClassTypeTest.php -------------------------------------------------------------------------------- /tests/Type/FloatTypeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Type/FloatTypeTest.php -------------------------------------------------------------------------------- /tests/Type/IntTypeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Type/IntTypeTest.php -------------------------------------------------------------------------------- /tests/Type/NullableTypeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Type/NullableTypeTest.php -------------------------------------------------------------------------------- /tests/Type/StringTypeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Type/StringTypeTest.php -------------------------------------------------------------------------------- /tests/Type/VoidTypeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/Type/VoidTypeTest.php -------------------------------------------------------------------------------- /tests/TypeTest.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/slepic/php-value-object/HEAD/tests/TypeTest.php --------------------------------------------------------------------------------