private function createService($boundObject, $boundClassVars, InputInterface $input, Generator $generator)
    {
        $serviceClassNameDetails = $generator->createClassNameDetails(
            $input->getArgument('name').'Service',
            'Service\\GraphQL'
        );
        
        $generator->generateClass(
            $serviceClassNameDetails->getFullName(),
            dirname(dirname(__FILE__)) . '/Resources/skeleton/Service.tpl.php',
            array_merge(
                [
                    'entityFullName' => $boundObject['bounded_full_class_name'],
                    'entityName' => $boundObject['bounded_class_name'],
                ],
                $boundClassVars
            )
        );
        
        $generator->writeChanges();
        
        return $serviceClassNameDetails;
    }
private function createService($boundObject, $boundClassVars, InputInterface $input, Generator $generator)
    {
        $serviceClassNameDetails = $generator->createClassNameDetails(
            $input->getArgument('name').'Service',
            'Service\\GraphQL'
        );
        
        $generator->generateClass(
            $serviceClassNameDetails->getFullName(),
            dirname(dirname(__FILE__)) . '/Resources/skeleton/Service.tpl.php',
            array_merge(
                [
                    'entityFullName' => $boundObject['bounded_full_class_name'],
                    'entityName' => $boundObject['bounded_class_name'],
                ],
                $boundClassVars
            )
        );
        
        $generator->writeChanges();
        
        return $serviceClassNameDetails;
    }
private function createService ( $ boundObject , $ boundClassVars , InputInterface $ input , Generator $ generator ) { $ serviceClassNameDetails = $ generator -> createClassNameDetails ( $ input -> getArgument ( 'name' ) . 'Service' , 'Service\\GraphQL' ) ; $ generator -> generateClass ( $ serviceClassNameDetails -> getFullName ( ) , dirname ( dirname ( __FILE__ ) ) . '/Resources/skeleton/Service.tpl.php' , array_merge ( [ 'entityFullName' => $ boundObject [ 'bounded_full_class_name' ] , 'entityName' => $ boundObject [ 'bounded_class_name' ] , ] , $ boundClassVars ) ) ; $ generator -> writeChanges ( ) ; return $ serviceClassNameDetails ; }
Creates helper class

@param $boundObject
@param $boundClassVars
@param InputInterface $input
@param Generator $generator
@return string
Creates helper class