Inheritance: implements SampleServiceInterface
 /**
  * @Bean({"singleton"=false})
  * @Parameters({
  *  @Parameter({"name" = "test", "required" = false})
  * })
  */
 public function sampleServiceWithoutRequiredParam($test = '') : SampleService
 {
     $service = new SampleService();
     $service->setTest($test);
     return $service;
 }
 /**
  * @Bean
  */
 public function serviceWithStringInjected() : SampleService
 {
     $service = new SampleService();
     $service->setTest($this->stringPrimitive());
     return $service;
 }