Skip to content

[Improvement] PSR-4 compatible structure of cache files #567

@lisachenko

Description

@lisachenko

Framework generates proxies in special “_proxies” directory and doesn’t follow PSR-4 standard when generating “_AopProxied” files (traits). Organizing this chaos may give a benefit for future to add cache directory as PSR-4 root or PSR-4 roots (when several different namespaces or composer packages are included for transformation)

Need to ensure that all files, both proxies and transformed/woven classes are respecting the PSR-4 directory structure for classes/traits/enums and their names + namespaces. Remove “_proxies” directory and make cache directory PSR-4 compatible for single or multiple PSR-4 roots. Fix also cache generation process for generated file names - if entity has been renamed - name and file should match.

Metadata

Metadata

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions