Library/Bullhorn/FastRest/Api/Controllers/Base.php
private function validateServicesDefined() {
        if(!$this->getDi()->has(AclInterface::DI_NAME)) {
            throw new \Exception('Service ' . AclInterface::class . '::DI_NAME must be defined with a type of: ' . AclInterface::class);
        }
        if(!$this->getDi()->has(OutputInterface::DI_NAME)) {
            throw new \Exception('Service ' . OutputInterface::class . '::DI_NAME must be defined with a type of: ' . OutputInterface::class);
        }
    }
private function validateServicesDefined() {
        if(!$this->getDi()->has(AclInterface::DI_NAME)) {
            throw new \Exception('Service ' . AclInterface::class . '::DI_NAME must be defined with a type of: ' . AclInterface::class);
        }
        if(!$this->getDi()->has(OutputInterface::DI_NAME)) {
            throw new \Exception('Service ' . OutputInterface::class . '::DI_NAME must be defined with a type of: ' . OutputInterface::class);
        }
    }
private function validateServicesDefined ( ) { if ( ! $ this -> getDi ( ) -> has ( AclInterface :: DI_NAME ) ) { throw new \ Exception ( 'Service ' . AclInterface :: class . '::DI_NAME must be defined with a type of: ' . AclInterface :: class ) ; } if ( ! $ this -> getDi ( ) -> has ( OutputInterface :: DI_NAME ) ) { throw new \ Exception ( 'Service ' . OutputInterface :: class . '::DI_NAME must be defined with a type of: ' . OutputInterface :: class ) ; } }
Validates to make sure all required services are defined
@return void
@throws \Exception
Validates to make sure all required services are defined