* For the full copyright and license information, please view
9
* the LICENSE file that was distributed with this source code.
10
*/
11
12
namespace BlitzPHP\Facades;
13
14
use BlitzPHP\Validation\ErrorBag;
15
16
/**
17
* @method static bool exists(string $view, ?string $ext = null, array $options = []) Verifie qu'un fichier de vue existe
18
* @method static \BlitzPHP\View\View first(string $view, array $data = [], array $options = []) Utilise le premier fichier de vue trouvé pour le rendu
19
* @method static string get(bool|string $compress = 'auto') Recupere et retourne le code html de la vue créée
20
* @method static \BlitzPHP\View\View layout(string $layout) Definit le layout a utiliser par les vues
21
* @method static \BlitzPHP\View\View make(string $view, array $data = [], array $options = []) Crée une instance de vue prêt à être utilisé
22
* @method static void render() Affiche la vue generee au navigateur
23
* @method static void share(array|Closure|string $key, mixed $value = null) Defini les données partagées entre plusieurs vues
24
* @method static \BlitzPHP\View\View with(array|string $key, mixed $value = null, ?string $context = null) Définit plusieurs éléments de données de vue à la fois.
25
* @method static \BlitzPHP\View\View withErrors((array | ErrorBag | string) $errors) Ajoute des erreurs à la session en tant que Flashdata.