for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @copyright Copyright (c) Flipbox Digital Limited
* @license https://github.com/flipbox/spark/blob/master/LICENSE
* @link https://github.com/flipbox/spark
*/
namespace flipbox\spark\records;
* @author Flipbox Factory <[email protected]>
* @since 2.0.0
abstract class RecordWithIdAndState extends RecordWithId
{
use traits\RecordWithState;
* @inheritdoc
public function rules()
return array_merge(
parent::rules(),
$this->stateRules()
);
}