You are here

public function Profile::getTime in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/http-kernel/Profiler/Profile.php \Symfony\Component\HttpKernel\Profiler\Profile::getTime()

Returns the time.

Return value

string The time

File

vendor/symfony/http-kernel/Profiler/Profile.php, line 161

Class

Profile
Profile.

Namespace

Symfony\Component\HttpKernel\Profiler

Code

public function getTime() {
  if (null === $this->time) {
    return 0;
  }
  return $this->time;
}