ProxyManager: Null Object proxy

Code
<?php

use ProxyManager\Factory\NullObjectFactory;

class 
Foo
{
    public function 
__construct()
    {
        throw new 
Exception('oops, something went wrong');
    }
    
    public function 
bar()
    {
        return 
'bar';
    }
}

try {
    
$foo = new Foo();
}
catch (
Exception $e) {
    
$factory = new NullObjectFactory();
    
$foo $factory->createProxy(Foo::CLASS);
}

var_dump($foo->bar());
Result
NULL
Used Versions
PHP 7.1, Zend 3.0, Symfony 3.2, Laravel 5.2, PHPUnit 5.6, Doctrine 2.6