If a base classes uses a trait, no need to reuse that trait because Model boots all traits now
This commit is contained in:
parent
3f31eed160
commit
bfc3804a1a
|
|
@ -10,8 +10,6 @@ use October\Rain\Auth\Models\Group as GroupBase;
|
|||
*/
|
||||
class UserGroup extends GroupBase
|
||||
{
|
||||
use \October\Rain\Database\Traits\Validation;
|
||||
|
||||
/**
|
||||
* @var string The database table used by the model.
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -24,12 +24,12 @@ trait ViewMaker
|
|||
/**
|
||||
* @var string Specifies a path to the views directory.
|
||||
*/
|
||||
private $viewPath;
|
||||
protected $viewPath;
|
||||
|
||||
/**
|
||||
* @var string Specifies a path to the layout directory.
|
||||
*/
|
||||
private $layoutPath;
|
||||
protected $layoutPath;
|
||||
|
||||
/**
|
||||
* @var string Layout to use for the view.
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ trait AssetMaker
|
|||
/**
|
||||
* @var array Collection of assets to display in the layout.
|
||||
*/
|
||||
private $assets = ['js'=>[], 'css'=>[], 'rss'=>[]];
|
||||
protected $assets = ['js'=>[], 'css'=>[], 'rss'=>[]];
|
||||
|
||||
/**
|
||||
* @var string Specifies a path to the asset directory.
|
||||
|
|
|
|||
|
|
@ -22,7 +22,7 @@ trait ConfigMaker
|
|||
/**
|
||||
* @var string Specifies a path to the config directory.
|
||||
*/
|
||||
private $configPath;
|
||||
protected $configPath;
|
||||
|
||||
/**
|
||||
* Reads the contents of the supplied file and applies it to this object.
|
||||
|
|
|
|||
|
|
@ -15,7 +15,7 @@ trait PropertyContainer
|
|||
/**
|
||||
* @var array Contains the object property values.
|
||||
*/
|
||||
private $properties = [];
|
||||
protected $properties = [];
|
||||
|
||||
/**
|
||||
* Validates the properties against the defined properties of the class.
|
||||
|
|
|
|||
Loading…
Reference in New Issue