isHotPath example

$proxyClasses[$proxyClass.'.php'] = $proxyCode;
        }

        return $proxyClasses;
    }

    private function addServiceInclude(string $cId, Definition $definition, bool $isProxyCandidate): string
    {
        $code = '';

        if ($this->inlineRequires && (!$this->isHotPath($definition) || $isProxyCandidate)) {
            $lineage = [];
            foreach ($this->inlinedDefinitions as $def) {
                if (!$def->isDeprecated()) {
                    foreach ($this->getClasses($def$cId) as $class) {
                        $this->collectLineage($class$lineage);
                    }
                }
            }

            foreach ($this->serviceCalls as $id => [$callCount$behavior]) {
                if ('service_container' !== $id && $id !== $cId
                    
$proxyClasses[sprintf('%s.php', explode(' ', $this->inlineRequires ? substr($proxyCode, \strlen($code)) : $proxyCode, 3)[1])] = $proxyCode;
        }

        return $proxyClasses;
    }

    private function addServiceInclude(string $cId, Definition $definition): string
    {
        $code = '';

        if ($this->inlineRequires && (!$this->isHotPath($definition) || $this->getProxyDumper()->isProxyCandidate($definition))) {
            $lineage = [];
            foreach ($this->inlinedDefinitions as $def) {
                if (!$def->isDeprecated()) {
                    foreach ($this->getClasses($def) as $class) {
                        $this->collectLineage($class$lineage);
                    }
                }
            }

            foreach ($this->serviceCalls as $id => [$callCount$behavior]) {
                if ('service_container' !== $id && $id !== $cId
                    
$proxyClasses[$proxyClass.'.php'] = $proxyCode;
        }

        return $proxyClasses;
    }

    private function addServiceInclude(string $cId, Definition $definition, bool $isProxyCandidate): string
    {
        $code = '';

        if ($this->inlineRequires && (!$this->isHotPath($definition) || $isProxyCandidate)) {
            $lineage = [];
            foreach ($this->inlinedDefinitions as $def) {
                if (!$def->isDeprecated()) {
                    foreach ($this->getClasses($def$cId) as $class) {
                        $this->collectLineage($class$lineage);
                    }
                }
            }

            foreach ($this->serviceCalls as $id => [$callCount$behavior]) {
                if ('service_container' !== $id && $id !== $cId
                    
Home | Imprint | This part of the site doesn't use cookies.