I thought in php 5.4 this was possible
(new object())->method();
But I am having trouble when both the object and methods are stored in a classes variables I have tried the following,
new $this->object($this->params)->$this->method();
new ($this->object($this->params))->$this->method();
new $this->object($this->params)->{$this->method}();
I can't seem to get it working unless I am mistaken and it cannot be done. Thank you