Explorar o código

Doctrine Proxy interface now defines __isInitialized function

Miha Vrhovnik %!s(int64=13) %!d(string=hai) anos
pai
achega
e5b8adcb24
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  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__;
+    }
 }