David Carrdcblogdev.hashnode.devยทSep 12, 2014Using closures and $this within a class with PHPClosures are really useful, especially for creating plugins when a full blown controller is not needed, today I came across a problem when using a closure within a class and trying to use $this-> which resulted in getting this error: Using $this whe...Add a thoughtful commentNo comments yetBe the first to start the conversation.