Метод |
Описание |
|
buildParametersString ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, ReflectionMethod $method, array $parameters ) : string |
|
|
formatType ( ReflectionType $type, ReflectionMethod $method, ReflectionParameter $parameter = null ) : string |
|
|
generateClassName ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : string |
Generates the original class name. |
|
generateCloneImpl ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : string |
Generates implementation for the __clone method of proxies. |
|
generateConstructorImpl ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : string |
Generates the constructor code (un-setting public lazy loaded properties, setting identifier field values). |
|
generateLazyPropertiesDefaults ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : string |
Generates the array representation of lazy loaded public properties and their default values. |
|
generateMagicGet ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : string |
Generates the magic getter invoked when lazy loaded public properties are requested. |
|
generateMagicIsset ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : string |
Generates the magic issetter invoked when lazy loaded public properties are checked against isset(). |
|
generateMagicSet ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : string |
Generates the magic setter (currently unused). |
|
generateMethods ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : string |
Generates decorated methods by picking those available in the parent class. |
|
generateNamespace ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : string |
Generates the proxy namespace. |
|
generateProxyShortClassName ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : string |
Generates the proxy short class name to be used in the template. |
|
generateSleepImpl ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : string |
Generates implementation for the __sleep method of proxies. |
|
generateWakeupImpl ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : string |
Generates implementation for the __wakeup method of proxies. |
|
getLazyLoadedPublicProperties ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : mixed[] |
Generates the list of public properties to be lazy loaded, with their default values. |
|
getMethodReturnType ( ReflectionMethod $method ) : string |
|
|
getParameterNamesForInvoke ( array $parameters ) : string[] |
|
|
getParameterNamesForParentCall ( array $parameters ) : string[] |
|
|
getParameterType ( Doctrine\Common\Persistence\Mapping\ClassMetadata $class, ReflectionMethod $method, ReflectionParameter $parameter ) : string | null |
|
|
isShortIdentifierGetter ( ReflectionMethod $method, Doctrine\Common\Persistence\Mapping\ClassMetadata $class ) : boolean |
Checks if the method is a short identifier getter. |
|
shouldProxiedMethodReturn ( ReflectionMethod $method ) : boolean |
|
|