original_string: public function setClassName($sClass)
      {
          $this->sPrefix = $this->getOption('core.prefix.function');
  
          $sClass = trim($sClass, '.\\ ');
          if(!$sClass)
          {
              return $this;
          }
  
          if(!($xCallable = $this->xRepository->getCallableObject($sClass)))
          {
              // Todo: decide which of these values to return
              // return null;
              return $this;
          }
  
          $this->sPrefix = $this->getOption('core.prefix.class') . $xCallable->getJsName() . '.';
          return $this;
      }
code: public function setClassName($sClass)
      {
          $this->sPrefix = $this->getOption('core.prefix.function');
  
          $sClass = trim($sClass, '.\\ ');
          if(!$sClass)
          {
              return $this;
          }
  
          if(!($xCallable = $this->xRepository->getCallableObject($sClass)))
          {
              // Todo: decide which of these values to return
              // return null;
              return $this;
          }
  
          $this->sPrefix = $this->getOption('core.prefix.class') . $xCallable->getJsName() . '.';
          return $this;
      }
code_tokens: public function setClassName ( $ sClass ) { $ this -> sPrefix = $ this -> getOption ( 'core.prefix.function' ) ; $ sClass = trim ( $ sClass , '.\\ ' ) ; if ( ! $ sClass ) { return $ this ; } if ( ! ( $ xCallable = $ this -> xRepository -> getCallableObject ( $ sClass ) ) ) { // Todo: decide which of these values to return // return null; return $ this ; } $ this -> sPrefix = $ this -> getOption ( 'core.prefix.class' ) . $ xCallable -> getJsName ( ) . '.' ; return $ this ; }
docstring: Set the name of the class to call
  
  @param string|null            $sClass              The callable class
  
  @return Factory
docstring_tokens: Set the name of the class to call