protected function setServicesFile($path, $template, array $vars) {
    $this->addServicesFile()
      ->path($path)
      ->template($template)
      ->vars($vars);
  }
protected function setServicesFile($path, $template, array $vars) {
    $this->addServicesFile()
      ->path($path)
      ->template($template)
      ->vars($vars);
  }
protected function setServicesFile ( $ path , $ template , array $ vars ) { $ this -> addServicesFile ( ) -> path ( $ path ) -> template ( $ template ) -> vars ( $ vars ) ; }
Creates service file asset.

@param string $path
Path to the file.
@param string $template
Twig template to render.
@param array $vars
Twig variables.

@deprecated Use self::addServiceFile().
Creates service file asset .