`getPath()` needs to be lazily resolved, correct? Could you create another variable referencing `$this` previously in `getMappingsNode()`'s scope and then pass *that* into the function? I believe that's typically done for PHP 5.3, where you can't `use` `$this`.