hphp/runtime/ext/asio/async_function_wait_handle.cpp
// Get the filename in which execution will proceed when execution resumes.
Get the filename in which execution will proceed when execution resumes.
Get the filename in which execution will proceed when execution resumes .
String c_AsyncFunctionWaitHandle::getFileName() {
  if (m_continuation.isNull()) return empty_string;
  auto ar = m_continuation->actRec();
  auto file = ar->m_func->unit()->filepath()->data();
  if (ar->m_func->originalFilename()) {
    file = ar->m_func->originalFilename()->data();
  }
  return file;
}
String c_AsyncFunctionWaitHandle :: getFileName ( ) { if ( m_continuation . isNull ( ) ) return empty_string ; auto ar = m_continuation -> actRec ( ) ; auto file = ar -> m_func -> unit ( ) -> filepath ( ) -> data ( ) ; if ( ar -> m_func -> originalFilename ( ) ) { file = ar -> m_func -> originalFilename ( ) -> data ( ) ; } return file ; }
Get the filename in which execution will proceed when execution resumes.
Get the filename in which execution will proceed when execution resumes .