Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using $this when not in object context #3

Open
d3turnes opened this issue May 29, 2018 · 2 comments
Open

Using $this when not in object context #3

d3turnes opened this issue May 29, 2018 · 2 comments

Comments

@d3turnes
Copy link

d3turnes commented May 29, 2018

Error, line 94
File: vendor\bread-templates\src\TemplatesManager.php

templateModified() => static function
and
getPath() => no static function

public static function templateModified(Template $template) {
$_file = $this->getPath($template->slug); => Error
//$_file = resource_path('views/vendor/voyager/templates/').$template->slug.'.blade.php'; => OK

@akazorg
Copy link
Member

akazorg commented Jul 19, 2018

Hey @d3turnes, thanks for the message, I'll check that.

@ranjitWBS
Copy link

Also hooks are not working when a bread has relationships fields. :-(
Please suggest..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants