blob: 4aa1ef0bddd1aa4caae8abd9c2f27332b19ad810 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
<?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;
}
}
|