| Code Coverage | ||||||||||
| Classes and Traits | Functions and Methods | Lines | ||||||||
| Total |  | 0.00% | 0 / 1 |  | 0.00% | 0 / 5 | CRAP |  | 0.00% | 0 / 13 | 
| RequestService |  | 0.00% | 0 / 1 |  | 0.00% | 0 / 5 | 42.00 |  | 0.00% | 0 / 13 | 
| __construct |  | 0.00% | 0 / 1 | 2.00 |  | 0.00% | 0 / 2 | |||
| __clone |  | 0.00% | 0 / 1 | 2.00 |  | 0.00% | 0 / 2 | |||
| getInstance |  | 0.00% | 0 / 1 | 6.00 |  | 0.00% | 0 / 5 | |||
| termPaperRegistrationService |  | 0.00% | 0 / 1 | 2.00 |  | 0.00% | 0 / 2 | |||
| getAllPendingTPRegistrationsAssignedToStaff |  | 0.00% | 0 / 1 | 2.00 |  | 0.00% | 0 / 2 | |||
| <?php | |
| /** | |
| * Created By: jithinvijayan | |
| * Date: 04/12/19 | |
| */ | |
| namespace com\linways\core\ams\professional\service; | |
| use com\linways\core\ams\professional\service\report\AdvancedStudentFilterService; | |
| class RequestService extends BaseService | |
| { | |
| /** | |
| * Presence of a static member variable | |
| * | |
| * @var null | |
| */ | |
| private static $_instance = null; | |
| /** | |
| * Mapper variable | |
| * @var array | |
| */ | |
| private $mapper = []; | |
| /** | |
| * Initialise mapper, logger, hooks here | |
| * | |
| * RequestService constructor. | |
| */ | |
| private function __construct() | |
| { | |
| // $this->mapper = AdvancedStudentFilterServiceMapper::getInstance()->getMapper(); | |
| } | |
| /** | |
| * Prevent any object or instance of that class to be cloned | |
| */ | |
| private function __clone() | |
| { | |
| } | |
| /** | |
| * Have a single globally accessible static method | |
| * | |
| * @return RequestService|null | |
| */ | |
| public static function getInstance() | |
| { | |
| if (!is_object(self::$_instance)) | |
| self::$_instance = new self (); | |
| return self::$_instance; | |
| } | |
| public function termPaperRegistrationService() | |
| { | |
| } | |
| public function getAllPendingTPRegistrationsAssignedToStaff() | |
| { | |
| } | |
| } |