laravel / octane

Supercharge your Laravel application's performance.
https://laravel.com/docs/octane
MIT License
3.75k stars 291 forks source link

Issues with hook structure (apply_filters, add_action ...) #270

Closed abdullahtekin closed 3 years ago

abdullahtekin commented 3 years ago

Description:

My laravel cms structure is usually coded hook (Look like Wordpress). When i use hook the Octane ignore this process. But Laravel serve is running correct. How can you help me this about?

Steps To Reproduce:

Sample: $result = apply_filters(BASE_FILTER_PUBLIC_SINGLE_DATA, $slug);

#doesn't work hooks
add_action('ThemeAfterBody', function () {
    echo "test";
});

This code lines ignore Octane and continue.

themsaid commented 3 years ago

Please elaborate. I don't understand your issue.