private function buildProcess(string $process, string $fullServiceName) {
      $methods = array_flip(get_class_methods($fullServiceName));

      if (!array_key_exists(($process), $methods)) {

        throw new \Nuki\Exceptions\Base('No available process is found for the provided service');
      }
      
      return $process;
    }
private function buildProcess(string $process, string $fullServiceName) {
      $methods = array_flip(get_class_methods($fullServiceName));

      if (!array_key_exists(($process), $methods)) {

        throw new \Nuki\Exceptions\Base('No available process is found for the provided service');
      }
      
      return $process;
    }
private function buildProcess ( string $ process , string $ fullServiceName ) { $ methods = array_flip ( get_class_methods ( $ fullServiceName ) ) ; if ( ! array_key_exists ( ( $ process ) , $ methods ) ) { throw new \ Nuki \ Exceptions \ Base ( 'No available process is found for the provided service' ) ; } return $ process ; }
Build process name

@param string $process
@param string $fullServiceName
@return string
@throws \Nuki\Exceptions\Base
Build process name