Вход Регистрация
Файл: vendor/laravel/prompts/src/Concerns/HasInfo.php
Строк: 17
<?php

namespace LaravelPromptsConcerns;

use 
Closure;

trait 
HasInfo
{
    
/**
     * Get the resolved info text.
     */
    
public function infoText(): string
    
{
        if (
$this->info instanceof Closure) {
            return (
$this->info)($this->highlightedValue()) ?? '';
        }

        return 
$this->info;
    }
}
Онлайн: 1
Реклама