public function generateFactoryCall(FactoryCall $call)
 {
     $code = "if (!function_exists('{$call->getName()}')) {";
     $code .= parent::generateFactoryCall($call);
     $code .= "}\n";
     return $code;
 }
 public function __construct($file)
 {
     parent::__construct($file, '    ');
     $this->methods = '';
 }