public function fileName() : string { return $this->reflectionClass->getFileName(); }
/** * {@inheritDoc} */ public function getFileName() { return $this->betterReflectionClass->getFileName(); }
function it_has_a_file_name(ReflectionClass $reflectionClass) { $reflectionClass->getFileName()->willReturn('/var/www/Bar.php'); $this->fileName()->shouldBe('/var/www/Bar.php'); }