Go\Instrument\Transformer\ConstructorExecutionTransformerTest::listOfExpressions PHP Method

listOfExpressions() public method

public listOfExpressions ( )
    public function listOfExpressions()
    {
        return array(array('$a = new stdClass', '$a = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ stdClass::class}'), array('$b = new stdClass()', '$b = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ stdClass::class}()'), array('$stdClass = "stdClass"; $c = new $stdClass', '$stdClass = "stdClass"; $c = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ $stdClass}'), array('$stdClass = "stdClass"; $d = new $stdClass()', '$stdClass = "stdClass"; $d = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ $stdClass}()'), array('$e = new \\Exception', '$e = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ \\Exception::class}'), array('$f = new \\Exception("Test")', '$f = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ \\Exception::class}("Test")'), array('$g = new self', '$g = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ self::class}'), array('$h = new static()', '$h = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ static::class}()'), array('$j = new self::$stdClass()', '$j = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ self::$stdClass}()'), array('$k = new static::$exception["Exception"]("Test")', '$k = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ static::$exception["Exception"]}("Test")'), array('$l = new self::$object[0]->name("Test Message")', '$l = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ self::$object[0]->name}("Test Message")'), array('$m = new static::$object[0]->name', '$m = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ static::$object[0]->name}'), array('$n = new stdClass(new static::$object[0]->name)', '$n = \\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ stdClass::class}(\\Go\\Instrument\\Transformer\\ConstructorExecutionTransformer::getInstance()->{ static::$object[0]->name})'));
    }