Explorar el Código

Doctrine Proxy interface now defines __isInitialized function

Miha Vrhovnik hace 13 años
padre
commit
e5b8adcb24
Se han modificado 1 ficheros con 5 adiciones y 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__;
+    }
 }