1C-Bitrix 25.700.0
Загрузка...
Поиск...
Не найдено
fileindex.php
См. документацию.
1<?php
2
3namespace Bitrix\Translate\Index;
4
5use Bitrix\Main;
6use Bitrix\Translate\Index;
7
13{
22 public static function createByFile(Main\IO\File $file)
23 {
24
25 if (
26 !$file instanceof Main\IO\File ||
27 !$file->isFile() ||
28 !$file->isExists() ||
29 ($file->getExtension() != 'php')
30 )
31 {
32 throw new Main\ArgumentException();
33 }
34
35 $file = (new static())
36 ->setPath($file->getPath());
37
38 return $file;
39 }
40
41}
static createByFile(Main\IO\File $file)
Определения fileindex.php:22
Определения Image.php:9
Определения directory.php:3