Skip to content

Autoloading of generated classes #30

@norbe

Description

@norbe

I have moved to this library from kdyby/aop and nette 2.4...

How are you autoloading generated classes?

I have added path (->addDirectory(TEMP_DIR . '/cache/_Contributte.Aop')) to nette robotloader, but problem is, that cache is generated earlier than classes generated by Contributte/AOP. So I have to run ->setAutoRefresh(), but it disable caching at production...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Triage: Next

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions