Jelajahi Sumber

Doctrine Proxy interface now defines __isInitialized function

Miha Vrhovnik 13 tahun lalu
induk
melakukan
e5b8adcb24
1 mengubah file dengan 5 tambahan dan 0 penghapusan
  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;
             $this->__isInitialized__ = true;
         }
         }
     }
     }
+
+    public function __isInitialized()
+    {
+        return $this->__isInitialized__;
+    }
 }
 }