gitlab-com-adeattwood-yii2-.../tests/_data/ModelOne.php
Ade Attwood ec3e74ffb3 phpcs
2017-06-24 12:36:23 +01:00

34 lines
649 B
PHP

<?php
namespace adeattwood\helpers\tests\_data;
/**
* @category PHP
* @package adeattwood\yii-helpers
* @author Ade Attwood <attwood16@googlemail.com>
* @copyright 2017 adeattwood.co.uk
* @license BSD-2-Clause http://adeattwood.co.uk/license.html
* @link adeattwood.co.uk
* @since v0.1
*/
class ModelOne extends \yii\base\Model
{
/**
* The first test proprety
*
* @var string
*/
public $propOne;
/**
* The validation rules for the model
*
* @return array
*/
public function rules()
{
return [
[ [ 'propOne' ], 'string' ]
];
}
}