• Модуль: main
  • Путь к файлу: ~/bitrix/modules/main/lib/io/file.php
  • Класс: BitrixMainIOFile
  • Вызов: File::getContents
public function getContents()
{
	if (!$this->isExists())
		throw new FileNotFoundException($this->originalPath);

	return file_get_contents($this->getPhysicalPath());
}