<?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 UserSuccessfullyCompletedTheTest extends ConditionBase implements ConditionInterface {
    const CONDITION_ID = 7;

    public $name = 'Пользователь успешно сдал тест';

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

    /**
     * @param $message
     * @return bool
     */
    public function check($message){
        return false;
    }
}