* * 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:----w13We73IRA1Ht8NlAkb+UNfLvAop2sI7RX3O/waPMph4DuqWL7O656Zht4uA0TGtW/OihLlv0zUIke7NTDIGFsOcugwk1GeES07GfL4tXMS2FdkIdZO9SQNuffjpXsArebykEKlt3MR56qUWn0iFcOi7w9ki76GrNh8I2xtCDW/kP1/9IySlL7gOtuGwZCCspg4WZ5aFMsQyWM1TdFRIgQ23JSy5zbb++E0L4gvLJwNInfOxo00EpiwZtil7cljeKN4Luu+0T+tVnXbraDQQ35wZf4MsD8yJjaSysYKPJbIP1OBctbMTsMam2mQpNc7n6ubUKJD9FLgRceamEsdK9bkz6f7YlFwARRxkOfXzuQjRk07vEdLhtqo3MKUjLgubvcR/R3YYHSJQ/qjwFUFl26mbO7so/A/9X/Ezub1dabLaSwzFTCSwxLRlap9Ou9T9nxNBkH+MlY8AjU/RtcjBbHkrmUY3UKF3rNZ1IpYsU5ZcoF9+ibzTDN1JrSOEWL54MYj4Gpk494jb1kN+uslOa3UGLdubUIhR6M3lte7VeSDyHoSIats8RAmXyr0qnOImtORUIShooqjo3fHolnOQmvXGejlVF3aiE0nM9bsq51zq7IZ/X4nCv6Rr+LjoTQzWoohik//UPsxVIDzRmyXZ4X0F7bKT8QrF9RW429jlvQs=----ATTACHMENT:----MTQ2NDg5Mzc2MTI1MjExMyA3NzMwMDI5NTA3ODU3NjcwIDMyODA2ODY2ODUwNjg4MjU=