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/Proxy/Proxy.php \Doctrine\Common\Proxy\Proxy
Interface for proxy classes.
@author Roman Borschel <roman@code-factory.org> @author Marco Pivetta <ocramius@gmail.com> @since 2.4
Hierarchy
Expanded class hierarchy of Proxy
All classes that implement Proxy
4 files declare their use of Proxy
- ProxyLogicTest.php in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ ProxyLogicTest.php - ProxyMagicMethodsTest.php in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Proxy/ ProxyMagicMethodsTest.php - RuntimePublicReflectionProperty.php in vendor/
doctrine/ common/ lib/ Doctrine/ Common/ Reflection/ RuntimePublicReflectionProperty.php - RuntimePublicReflectionPropertyTest.php in vendor/
doctrine/ common/ tests/ Doctrine/ Tests/ Common/ Reflection/ RuntimePublicReflectionPropertyTest.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/ Proxy/ Proxy.php, line 32
Namespace
Doctrine\Common\ProxyView source
interface Proxy extends BaseProxy {
/**
* Marks the proxy as initialized or not.
*
* @param boolean $initialized
*
* @return void
*/
public function __setInitialized($initialized);
/**
* Sets the initializer callback to be used when initializing the proxy. That
* initializer should accept 3 parameters: $proxy, $method and $params. Those
* are respectively the proxy object that is being initialized, the method name
* that triggered initialization and the parameters passed to that method.
*
* @param Closure|null $initializer
*
* @return void
*/
public function __setInitializer(Closure $initializer = null);
/**
* Retrieves the initializer callback used to initialize the proxy.
*
* @see __setInitializer
*
* @return Closure|null
*/
public function __getInitializer();
/**
* Sets the callback to be used when cloning the proxy. That initializer should accept
* a single parameter, which is the cloned proxy instance itself.
*
* @param Closure|null $cloner
*
* @return void
*/
public function __setCloner(Closure $cloner = null);
/**
* Retrieves the callback to be used when cloning the proxy.
*
* @see __setCloner
*
* @return Closure|null
*/
public function __getCloner();
/**
* Retrieves the list of lazy loaded properties for a given proxy
*
* @return array Keys are the property names, and values are the default values
* for those properties.
*/
public function __getLazyProperties();
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
Proxy:: |
constant | Marker for Proxy class names. | ||
Proxy:: |
constant | Length of the proxy marker. | ||
Proxy:: |
public | function | Retrieves the callback to be used when cloning the proxy. | 1 |
Proxy:: |
public | function | Retrieves the initializer callback used to initialize the proxy. | 1 |
Proxy:: |
public | function | Retrieves the list of lazy loaded properties for a given proxy | 1 |
Proxy:: |
public | function | Returns whether this proxy is initialized or not. | 1 |
Proxy:: |
public | function | Initializes this proxy if its not yet initialized. | 1 |
Proxy:: |
public | function | Sets the callback to be used when cloning the proxy. That initializer should accept a single parameter, which is the cloned proxy instance itself. | 1 |
Proxy:: |
public | function | Marks the proxy as initialized or not. | 1 |
Proxy:: |
public | function | Sets the initializer callback to be used when initializing the proxy. That initializer should accept 3 parameters: $proxy, $method and $params. Those are respectively the proxy object that is being initialized, the method name that triggered… | 1 |