public function getFilePath() { if ($this->source instanceof Source\File) { return $this->source->getFile(); } else { return; } }