first commit

This commit is contained in:
gauvainboiche
2020-03-03 22:45:25 +01:00
commit 058c2110e9
4420 changed files with 598645 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
--TEST--
Verifies that generated null object disallow public function
--FILE--
<?php
require_once __DIR__ . '/init.php';
class Kitchen
{
public function foo()
{
return 'bar';
}
}
$factory = new \ProxyManager\Factory\NullObjectFactory($configuration);
$proxy = $factory->createProxy('Kitchen');
var_dump($proxy->foo());
?>
--EXPECT--
NULL