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/flipboxfactory/craft-ember/blob/master/LICENSE
* @link https://github.com/flipboxfactory/craft-ember/
*/
namespace flipbox\craft\ember\records;
* @author Flipbox Factory <[email protected]>
* @since 2.0.0
abstract class ActiveRecordWithId extends ActiveRecord
{
use IdAttributeTrait;
/*******************************************
* RULES
*******************************************/
* @inheritdoc
public function rules()
return array_merge(
parent::rules(),
$this->idRules()
);
}