Accessing class member functions immediately after the object initialization (new Extension($extname, $this->logger))->install(...) this construction was introduced in php 5.4.0