You are here

public function Call::getCallPlace in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/phpspec/prophecy/src/Prophecy/Call/Call.php \Prophecy\Call\Call::getCallPlace()

Returns short notation for callee place.

Return value

string

File

vendor/phpspec/prophecy/src/Prophecy/Call/Call.php, line 119

Class

Call
Call object.

Namespace

Prophecy\Call

Code

public function getCallPlace() {
  if (null === $this->file) {
    return 'unknown';
  }
  return sprintf('%s:%d', $this->file, $this->line);
}