You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The reason will be displayed to describe this comment to others. Learn more.
@calebporzio If I wanted to manually set the $parentClassName, where would I do that?
I have a scenario where my Parent is not the specific Parent class of my Children.
Ex. C extends B, and B extends A. I have the HasChildren trait on Class A. I have the HasParent trait on Class C. But since class C extends B, the getParentClass() method will return B instead of A.
f9012d9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@calebporzio If I wanted to manually set the
$parentClassName
, where would I do that?I have a scenario where my Parent is not the specific Parent class of my Children.
Ex. C extends B, and B extends A. I have the HasChildren trait on Class A. I have the HasParent trait on Class C. But since class C extends B, the getParentClass() method will return B instead of A.
Thanks!
f9012d9
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@calebporzio This PR will solve this: #104
Though I am still curious if there is a way to set the $parentClassName or what the intent is for this?