uawdijnntqw1x1x1
IP : 216.73.216.26
Hostname : toronto-dev2
Kernel : Linux toronto-dev2 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Disable Function : None :)
OS : Linux
PATH:
/
srv
/
users
/
craft4
/
apps
/
craft4-newsite-space
/
vendor
/
webmozart
/
..
/
ether
/
seo
/
src
/
models
/
Redirect.php
/
/
<?php namespace ether\seo\models; use craft\base\Model; class Redirect extends Model { // Props // ========================================================================= // Props: Public Instance // ------------------------------------------------------------------------- /** @var int */ public $order; /** @var string */ public $uri; /** @var string */ public $to; /** @var string */ public $type; // Public Methods // ========================================================================= // Public Methods: Instance // ------------------------------------------------------------------------- /** * @inheritdoc * * @return array */ public function rules (): array { $rules = parent::rules(); $rules[] = [ ['order'], 'integer', 'required', ]; $rules[] = [ ['url', 'to', 'type'], 'string', 'required', ]; $rules[] = [ ['type'], 'in', 'range' => ['301','302'], ]; return $rules; } }
/srv/users/craft4/apps/craft4-newsite-space/vendor/webmozart/../ether/seo/src/models/Redirect.php