interface Proxy in Zircon Profile 8
Same name in this branch
- 8 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Proxy.php \Doctrine\Common\Persistence\Proxy
 - 8 vendor/doctrine/common/lib/Doctrine/Common/Proxy/Proxy.php \Doctrine\Common\Proxy\Proxy
 
Same name and namespace in other branches
- 8.0 vendor/doctrine/common/lib/Doctrine/Common/Persistence/Proxy.php \Doctrine\Common\Persistence\Proxy
 
Interface for proxy classes.
@author Roman Borschel <roman@code-factory.org> @since 2.2
Hierarchy
- interface \Doctrine\Common\Persistence\Proxy
 
Expanded class hierarchy of Proxy
All classes that implement Proxy
4 files declare their use of Proxy
- ClassUtils.php in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Util/ ClassUtils.php  - Debug.php in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Util/ Debug.php  - InvalidArgumentException.php in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Proxy/ Exception/ InvalidArgumentException.php  - Proxy.php in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Proxy/ Proxy.php  
9 string references to 'Proxy'
- ProxyClassGeneratorTest::setUp in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ ProxyClassGeneratorTest.php  - Sets up the fixture, for example, open a network connection. This method is called before a test is executed.
 - ProxyClassGeneratorTest::testClassWithCallableTypeHintOnProxiedMethod in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ ProxyClassGeneratorTest.php  - ProxyClassGeneratorTest::testClassWithInvalidTypeHintOnProxiedMethod in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ ProxyClassGeneratorTest.php  - ProxyClassGeneratorTest::testClassWithSleepProxyGeneration in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ ProxyClassGeneratorTest.php  - ProxyClassGeneratorTest::testClassWithStaticPropertyProxyGeneration in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ ProxyClassGeneratorTest.php  - Check that the proxy doesn't serialize static properties (in __sleep() method) @group DCOM-212
 
File
- vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Persistence/ Proxy.php, line 28  
Namespace
Doctrine\Common\PersistenceView source
interface Proxy {
  /**
   * Marker for Proxy class names.
   *
   * @var string
   */
  const MARKER = '__CG__';
  /**
   * Length of the proxy marker.
   *
   * @var integer
   */
  const MARKER_LENGTH = 6;
  /**
   * Initializes this proxy if its not yet initialized.
   *
   * Acts as a no-op if already initialized.
   *
   * @return void
   */
  public function __load();
  /**
   * Returns whether this proxy is initialized or not.
   *
   * @return bool
   */
  public function __isInitialized();
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            Proxy:: | 
                  constant | Marker for Proxy class names. | ||
| 
            Proxy:: | 
                  constant | Length of the proxy marker. | ||
| 
            Proxy:: | 
                  public | function | Returns whether this proxy is initialized or not. | 1 | 
| 
            Proxy:: | 
                  public | function | Initializes this proxy if its not yet initialized. | 1 |