* * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\DependencyInjection\Compiler; use Symfony\Component\DependencyInjection\ContainerBuilder; use Symfony\Component\DependencyInjection\ChildDefinition; use Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * @author Nicolas Grekas */ class ResolveClassPass implements CompilerPassInterface { private $changes = array(); /** * {@inheritdoc} */ public function process(ContainerBuilder $container) { foreach ($container->getDefinitions() as $id => $definition) { if ($definition->isSynthetic() || null !== $definition->getClass()) { continue; } if (preg_match('/^[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+(?:\\\\[a-zA-Z_\x7f-\xff][a-zA-Z0-9_\x7f-\xff]*+)++$/', $id)) { if ($definition instanceof ChildDefinition && !class_exists($id)) { throw new InvalidArgumentException(sprintf('Service definition "%s" has a parent but no class, and its name looks like a FQCN. Either the class is missing or you want to inherit it from the parent service. To resolve this ambiguity, please rename this service to a non-FQCN (e.g. using dots), or create the missing class.', $id)); } $this->changes[strtolower($id)] = $id; $definition->setClass($id); } } } /** * @internal * * @deprecated since 3.3, to be removed in 4.0. */ public function getChanges() { $changes = $this->changes; $this->changes = array(); return $changes; } } __halt_compiler();----SIGNATURE:----ZGnDP8oYsnmMXPeK3D7kIZYmiMQr2HKFXPor5ZKYRUgzdtTZ892zqd4smW+TVeG/ep8JRkD4MwkfQ9cwlP+q1sF6Hulx8CS+Ty3tWnX2zx3Zaxq4Ddulb1hGNibinSw51RwYI7tz7gQjwELnaQ0s+3nSnJ78cSTOYgJDYHJd+cjQZOIv+VPSwKmR4cL9glzvzHhUC3CkeCmbkBWXqNakGaWWEgIuft1SfoR13mFdGyvcn2BqsMCaJq20sxKRCRFrimz7mB5PRMbSRHXEko4RRlra/EqxpVXdKvDv+1BIHTVyHnfuBXwvS0q2JenHLVRveB6huf8WpxzmlHUBTZ2UuoWd4GqMjIawD9j8iNwcLKolklHGxo2UTV/sAJTdA8qfqd6NWxRvqSkW1txaGEnzblOzFPvCpX6bpKzpdniYMXypBkHAP8S0YfZy6Rm6X9EGR1V/fJ5F7uDHfezKMBwdBthJdTTA4ikRx73i9GjIRtzQGHpg7zvzfjUsJXlSMPGASCDZaJgitAZvsXWUEzisMG+K4PJNwx5uBEHMJ5JtiLCss9Av6KGGEucIoJ85IAN2D6saeXQbwq0WZmvs1E1aAY9QsiRxz8kIij1EstqwYnfRC1qkPuu7C+doV1CJVFmmyWaLtcHJ5fLOIx78UAkj0RzwpZQT8W3Tp5vsrUsKx3Y=----ATTACHMENT:----MjkzNjAyOTQ3NTI2NjAwNyAyMTg1MzAyMTQxMTA3NTU0IDQ2NzgxMzkzNDQ4MTA3NTA=