demos-europe / edt

Enables your PHP application to expose its entities as REST resources using the feature rich JSON:API specification as API. How and to whom your entities are exposed is highly customizable while minimizing boilerplate code.
MIT License
2 stars 1 forks source link

Rename classes #130

Open dresslerdemos opened 4 months ago

dresslerdemos commented 4 months ago

Examples:

from to
ResourceConfig Schema
ResourceConfigInterface SchemaInterface
IdentifierConfigBuilder IdentifierConfig
ResourceConfigBuilderFromEntityGenerator TypeConfigGenerator
AbstractResourceConfigBuilder AbstractSchemaConfig
BaseSchemaBuilder BaseSchemaConfig
MagicResourceConfigBuilder MagicSchemaConfig
UnifiedResourceConfigBuilder ArraySchemaConfig
ResourceConfigBuilderInterface SchemaConfigInterface
PropertyConfigBuilderInterface PropertyConfigInterface
PropertyConfigInterface PropertyInterface
PropertyBuilderFactory PropertyConfigFactory

Also consider the future of the contained build* methods. When moving away from implying the builder pattern, it makes sense to at least rename these methods or even use a different approach.


Additional renamings:

from to
FieldsException FieldsetFormatException
ConditionParserInterface (and other "parsers" like its child classes) Something non-"parser", as a real parser has a very specific way of working