浏览代码

Doctrine Proxy interface now defines __isInitialized function

Miha Vrhovnik 13 年之前
父节点
当前提交
e5b8adcb24
共有 1 个文件被更改,包括 5 次插入0 次删除
  1. 5 0
      Tests/Fixtures/SimpleObjectProxy.php

+ 5 - 0
Tests/Fixtures/SimpleObjectProxy.php

@@ -33,4 +33,9 @@ class SimpleObjectProxy extends SimpleObject implements Proxy
             $this->__isInitialized__ = true;
         }
     }
+
+    public function __isInitialized()
+    {
+        return $this->__isInitialized__;
+    }
 }