You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
450 B
PHTML
28 lines
450 B
PHTML
6 years ago
|
<?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;
|
||
|
}
|
||
|
}
|