EG
Size: a a a
EG
S
EG
S
EG
EG
EG
S
EG
ML
private $adminRepository;Могу ли я поместить его в Trait и использовать как
public function __construct()
{
parent::__construct();
$this->adminRepository = app(AdminRepository::class);
}
use AdminRepositoryTrait;
в нужных мне контроллерах?VT
private $adminRepository;Могу ли я поместить его в Trait и использовать как
public function __construct()
{
parent::__construct();
$this->adminRepository = app(AdminRepository::class);
}
use AdminRepositoryTrait;
в нужных мне контроллерах?ML
S
VT
S
VT
VT
ML