├── .gitignore ├── .scrutinizer.yml ├── .travis.yml ├── LICENSE ├── README.md ├── bin └── properties ├── composer.json ├── composer.lock ├── phpunit.xml ├── resources └── grammar.pp2 ├── src ├── ArrayCache.php ├── Attribute │ ├── ArrayTypeHint.php │ ├── Attribute.php │ ├── AttributeInterface.php │ ├── Conjunction.php │ ├── Disjunction.php │ ├── GenericTypeHint.php │ ├── HintInterface.php │ ├── Matchable.php │ ├── ScalarTypeHint.php │ └── TypeHint.php ├── Bootstrap.php ├── Builder.php ├── Commands │ └── CompileGrammarCommand.php ├── Exception │ ├── AccessDeniedException.php │ ├── BadTypeException.php │ ├── NotReadableException.php │ └── NotWritableException.php ├── Parser │ ├── BaseParser.php │ └── Parser.php ├── Properties.php └── Reducers │ ├── DocBlockReducer.php │ ├── DocTitleReducer.php │ ├── ReducerInterface.php │ ├── TypeHint │ ├── ArrayReducer.php │ ├── ConjunctionReducer.php │ ├── DisjunctionReducer.php │ ├── GenericReducer.php │ └── ScalarReducer.php │ ├── TypeHintReducer.php │ ├── TypeNameReducer.php │ └── VariableReducer.php └── tests ├── AbstractTestCase.php ├── PropertiesTestCase.php ├── ReadableTestCase.php ├── Stub ├── ReadWrite.php ├── Readable.php ├── ReadableChild.php ├── Writable.php ├── WritableChild.php └── WritableTypeHints.php ├── WritableTestCase.php └── WriteTypeHintsTestCase.php /.gitignore: -------------------------------------------------------------------------------- 1 | /.idea 2 | /vendor 3 | *.iml 4 | -------------------------------------------------------------------------------- /.scrutinizer.yml: -------------------------------------------------------------------------------- 1 | filter: 2 | excluded_paths: 3 | - "tests/" 4 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/.travis.yml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/README.md -------------------------------------------------------------------------------- /bin/properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/bin/properties -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/composer.json -------------------------------------------------------------------------------- /composer.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/composer.lock -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/phpunit.xml -------------------------------------------------------------------------------- /resources/grammar.pp2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/resources/grammar.pp2 -------------------------------------------------------------------------------- /src/ArrayCache.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/ArrayCache.php -------------------------------------------------------------------------------- /src/Attribute/ArrayTypeHint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Attribute/ArrayTypeHint.php -------------------------------------------------------------------------------- /src/Attribute/Attribute.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Attribute/Attribute.php -------------------------------------------------------------------------------- /src/Attribute/AttributeInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Attribute/AttributeInterface.php -------------------------------------------------------------------------------- /src/Attribute/Conjunction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Attribute/Conjunction.php -------------------------------------------------------------------------------- /src/Attribute/Disjunction.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Attribute/Disjunction.php -------------------------------------------------------------------------------- /src/Attribute/GenericTypeHint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Attribute/GenericTypeHint.php -------------------------------------------------------------------------------- /src/Attribute/HintInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Attribute/HintInterface.php -------------------------------------------------------------------------------- /src/Attribute/Matchable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Attribute/Matchable.php -------------------------------------------------------------------------------- /src/Attribute/ScalarTypeHint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Attribute/ScalarTypeHint.php -------------------------------------------------------------------------------- /src/Attribute/TypeHint.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Attribute/TypeHint.php -------------------------------------------------------------------------------- /src/Bootstrap.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Bootstrap.php -------------------------------------------------------------------------------- /src/Builder.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Builder.php -------------------------------------------------------------------------------- /src/Commands/CompileGrammarCommand.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Commands/CompileGrammarCommand.php -------------------------------------------------------------------------------- /src/Exception/AccessDeniedException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Exception/AccessDeniedException.php -------------------------------------------------------------------------------- /src/Exception/BadTypeException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Exception/BadTypeException.php -------------------------------------------------------------------------------- /src/Exception/NotReadableException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Exception/NotReadableException.php -------------------------------------------------------------------------------- /src/Exception/NotWritableException.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Exception/NotWritableException.php -------------------------------------------------------------------------------- /src/Parser/BaseParser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Parser/BaseParser.php -------------------------------------------------------------------------------- /src/Parser/Parser.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Parser/Parser.php -------------------------------------------------------------------------------- /src/Properties.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Properties.php -------------------------------------------------------------------------------- /src/Reducers/DocBlockReducer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Reducers/DocBlockReducer.php -------------------------------------------------------------------------------- /src/Reducers/DocTitleReducer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Reducers/DocTitleReducer.php -------------------------------------------------------------------------------- /src/Reducers/ReducerInterface.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Reducers/ReducerInterface.php -------------------------------------------------------------------------------- /src/Reducers/TypeHint/ArrayReducer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Reducers/TypeHint/ArrayReducer.php -------------------------------------------------------------------------------- /src/Reducers/TypeHint/ConjunctionReducer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Reducers/TypeHint/ConjunctionReducer.php -------------------------------------------------------------------------------- /src/Reducers/TypeHint/DisjunctionReducer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Reducers/TypeHint/DisjunctionReducer.php -------------------------------------------------------------------------------- /src/Reducers/TypeHint/GenericReducer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Reducers/TypeHint/GenericReducer.php -------------------------------------------------------------------------------- /src/Reducers/TypeHint/ScalarReducer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Reducers/TypeHint/ScalarReducer.php -------------------------------------------------------------------------------- /src/Reducers/TypeHintReducer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Reducers/TypeHintReducer.php -------------------------------------------------------------------------------- /src/Reducers/TypeNameReducer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Reducers/TypeNameReducer.php -------------------------------------------------------------------------------- /src/Reducers/VariableReducer.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/src/Reducers/VariableReducer.php -------------------------------------------------------------------------------- /tests/AbstractTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/tests/AbstractTestCase.php -------------------------------------------------------------------------------- /tests/PropertiesTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/tests/PropertiesTestCase.php -------------------------------------------------------------------------------- /tests/ReadableTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/tests/ReadableTestCase.php -------------------------------------------------------------------------------- /tests/Stub/ReadWrite.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/tests/Stub/ReadWrite.php -------------------------------------------------------------------------------- /tests/Stub/Readable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/tests/Stub/Readable.php -------------------------------------------------------------------------------- /tests/Stub/ReadableChild.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/tests/Stub/ReadableChild.php -------------------------------------------------------------------------------- /tests/Stub/Writable.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/tests/Stub/Writable.php -------------------------------------------------------------------------------- /tests/Stub/WritableChild.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/tests/Stub/WritableChild.php -------------------------------------------------------------------------------- /tests/Stub/WritableTypeHints.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/tests/Stub/WritableTypeHints.php -------------------------------------------------------------------------------- /tests/WritableTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/tests/WritableTestCase.php -------------------------------------------------------------------------------- /tests/WriteTypeHintsTestCase.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/SerafimArts/Properties/HEAD/tests/WriteTypeHintsTestCase.php --------------------------------------------------------------------------------