Timber\Helper::warn PHP Метод

warn() публичный статический Метод

public static warn ( string $message ) : boolean
$message string that you want to output
Результат boolean
    public static function warn($message)
    {
        return trigger_error($message, E_USER_WARNING);
    }

Usage Example

Пример #1
0
 /**
  * @deprecated 0.21.9
  * @internal
  * @return string
  */
 public function get_url()
 {
     Helper::warn('{{site.get_url}} is deprecated, use {{site.link}} instead');
     return $this->link();
 }
All Usage Examples Of Timber\Helper::warn