First to use an anonymous class to get around accessor name being protected, so we don't need to hardcode it anymore
Second to get custom if statement fully working, they work with directives and facade calls behind the scene so on top of the aliasing we need to give the facade our container as root.
Like the title says, two commits in this
First to use an anonymous class to get around accessor name being protected, so we don't need to hardcode it anymore
Second to get custom if statement fully working, they work with directives and facade calls behind the scene so on top of the aliasing we need to give the facade our container as root.