/** * @param $file * @return bool|string * @throws \Exception */ protected function readSourceFile($file) { if (!is_file($file)) { throw new \Exception("Trying to load file '{$file}' that does not exist."); } return $this->io->read($file); }
/** * read source file * * @param $file * @return bool|string */ protected function readSourceFile($file) { return $this->io->read($file); }