Sfoglia il codice sorgente

Doctrine Proxy interface now defines __isInitialized function

Miha Vrhovnik 13 anni fa
parent
commit
e5b8adcb24
1 ha cambiato i file con 5 aggiunte e 0 eliminazioni
  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__;
+    }
 }