<?php
/**
 * Created by PhpStorm.
 * User: shakarim
 * Date: 3/2/16
 * Time: 11:36 PM
 */

namespace common\modules\triggers\components\conditions\conditions;

use common\modules\triggers\components\conditions\vendor\ConditionBase;
use common\modules\triggers\components\conditions\vendor\ConditionInterface;

class UserUnsuccessfullyCompletedTheTest extends ConditionBase implements ConditionInterface {
    const CONDITION_ID = 8;

    public $name = 'Пользователь не сдал тест (игнорируется оператором И)';

    /**
     * @param null|string $conditionName
     * @return $this mixed
     */
    public static function init($conditionName=__CLASS__){
        return parent::init($conditionName);
    }

    /**
     * @param null $message
     * @param array $params
     * @return bool
     */
    public function check($message=null, $params = array()){
        return false;
    }
}