php-kitchen/yii2-domain

View on GitHub
specs/Unit/Stubs/Models/Tmux/TmuxRecord.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace PHPKitchen\Domain\Specs\Unit\Stubs\Models\Tmux;

use PHPKitchen\Domain\Specs\Unit\Stubs\Base\Record;

/**
 * Represents
 *
 * @package tests\stubs\models\tmux
 * @author Dmitry Kolodko <prowwid@gmail.com>
 */
class TmuxRecord extends Record {
    public $dummyRecord;
    public $id;

    public function getDummy() {
        return $this->dummyRecord;
    }

    public function getPrimaryKey($asBool = false) {
        return $this->id;
    }

    public function getListOfSelfRecords() {
        return [
            $this,
            $this,
            $this,
        ];
    }

    public function getListOfMixedValues() {
        return [
            $this,
            'value',
            1,
        ];
    }
}