?? GreyFile — Mystic File Browser

Current path: home/webdevt/www/wdp/wp-content/plugins/loco-translate/src/error/



?? Go up: /home/webdevt/www/wdp/wp-content/plugins/loco-translate/src

?? Viewing: Warning.php

<?php
/**
 * Generic warning
 */
class Loco_error_Warning extends Loco_error_Exception {
    
    /**
     * {@inheritdoc}
     */
    public function getType(){
        return 'warning';
    }


    /**
     * {@inheritdoc}
     */
    public function getTitle(){
        return __('Warning','loco-translate');
    }


    /**
     * {@inheritdoc}
     */
    public function getLevel(){
        return Loco_error_Exception::LEVEL_WARNING;
    }


    /**
     * {@inheritDoc}
     */
    public function logCli(){
        WP_CLI::warning( $this->getMessage() );
    }

}


??

??