UnknownSec Bypass
403
:
/
mnt
/
lmsestudio-instance-vol002
/
eagleead
/
app
/
Services
/
Hires
/ [
drwxr-xr-x
]
Menu
Upload
Mass depes
Mass delete
Terminal
Info server
About
name :
HiringServices.php
<?php namespace EstudioLMS\Services\Hires; use EstudioLMS\Exceptions\Handler; use EstudioLMS\Repositories\Environment\HiredCourseRepository; use EstudioLMS\Repositories\Financial\HiringInterface; /** * Class HiringServices * @package EstudioLMS\Services\Hires */ class HiringServices { /** * @var HiringInterface */ private $hiring; /** * @var HiredCourseRepository */ private $hiredCourse; /** * HiringServices constructor. * @param HiringInterface $hiring * @param HiredCourseRepository $hiredCourse */ public function __construct( HiringInterface $hiring, HiredCourseRepository $hiredCourse ) { $this->hiring = $hiring; $this->hiredCourse = $hiredCourse; } /** * @param array $data * @return bool */ public function store(array $data) { try { return $this->hiring->create($data); } catch (\Exception $e) { app(Handler::class)->report($e); return false; } } /** * @param string $trasactionId * @return mixed */ public function getByPaymentCode(string $trasactionId) { return $this->hiring ->with(['user', 'course', 'plan.duration']) ->findByField('payment_code', $trasactionId)->first(); } }
Copyright © 2026 - UnknownSec