Chris@14: Chris@14: * Chris@14: * For the full copyright and license information, please view the LICENSE Chris@14: * file that was distributed with this source code. Chris@14: */ Chris@14: Chris@14: namespace Symfony\Component\DependencyInjection\Loader\Configurator\Traits; Chris@14: Chris@14: /** Chris@14: * @method $this class(string $class) Chris@14: */ Chris@14: trait ClassTrait Chris@14: { Chris@14: /** Chris@14: * Sets the service class. Chris@14: * Chris@14: * @param string $class The service class Chris@14: * Chris@14: * @return $this Chris@14: */ Chris@14: final protected function setClass($class) Chris@14: { Chris@14: $this->definition->setClass($class); Chris@14: Chris@14: return $this; Chris@14: } Chris@14: }