engelsystem/tests/Unit/Models/Stub/BaseModelImplementation.php

28 lines
450 B
PHP
Raw Normal View History

2018-08-31 01:55:05 +02:00
<?php
namespace Engelsystem\Test\Unit\Models\Stub;
use Engelsystem\Models\BaseModel;
/**
* @property string foo
*/
class BaseModelImplementation extends BaseModel
{
/** @var array */
protected $fillable = ['foo'];
/** @var int */
public $saveCount = 0;
/**
* @param array $options
* @return bool
*/
public function save(array $options = [])
{
$this->saveCount++;
return true;
}
}