mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-30 14:08:46 +02:00
N°6934 - Symfony 6.4 - upgrade Symfony bundles to 6.4 (#580)
* Update Symfony lib to version ~6.4.0 * Update code missing return type * Add an iTop general configuration entry to store application secret (Symfony mandatory parameter) * Use dependency injection in ExceptionListener & UserProvider classes
This commit is contained in:
@@ -23,21 +23,20 @@ interface DumperInterface
|
||||
/**
|
||||
* Inspects whether the given definitions should produce proxy instantiation logic in the dumped container.
|
||||
*
|
||||
* @return bool
|
||||
* @param bool|null &$asGhostObject Set to true after the call if the proxy is a ghost object
|
||||
* @param string|null $id
|
||||
*/
|
||||
public function isProxyCandidate(Definition $definition);
|
||||
public function isProxyCandidate(Definition $definition/* , bool &$asGhostObject = null, string $id = null */): bool;
|
||||
|
||||
/**
|
||||
* Generates the code to be used to instantiate a proxy in the dumped factory code.
|
||||
*
|
||||
* @return string
|
||||
*/
|
||||
public function getProxyFactoryCode(Definition $definition, string $id, string $factoryCode);
|
||||
public function getProxyFactoryCode(Definition $definition, string $id, string $factoryCode): string;
|
||||
|
||||
/**
|
||||
* Generates the code for the lazy proxy.
|
||||
*
|
||||
* @return string
|
||||
* @param string|null $id
|
||||
*/
|
||||
public function getProxyCode(Definition $definition);
|
||||
public function getProxyCode(Definition $definition/* , string $id = null */): string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user