PHP code example of proklung / bitrix-blade-bundle
1. Go to this page and download the library: Download proklung/bitrix-blade-bundle library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
proklung / bitrix-blade-bundle example snippets
/**
* Получить View шаблона.
*
* @param string $file Blade шаблон.
* @param array $data Данные.
* @param array $mergeData Данные.
*
* @return View
*/
public function file(string $file, array $data = [], array $mergeData = []) : View;
/**
* Добавить базовый путь.
*
* @param string $path Базовый путь.
*
* @return void
*/
public function addBasePath(string $path): void;
if($USER->IsAuthorized())
endif