final private function protectMethod()
    {
        if (!(
            App::environment('testing')
            || ($this->callerService instanceof Service)
            || (self::$callerServiceForNext instanceof Service)
        )) {
            throw new \Exception('You must use an Subbly\Api\Service\Service to save a Model');
        }

        $this->callerService = null;
    }
final private function protectMethod()
    {
        if (!(
            App::environment('testing')
            || ($this->callerService instanceof Service)
            || (self::$callerServiceForNext instanceof Service)
        )) {
            throw new \Exception('You must use an Subbly\Api\Service\Service to save a Model');
        }

        $this->callerService = null;
    }
final private function protectMethod ( ) { if ( ! ( App :: environment ( 'testing' ) || ( $ this -> callerService instanceof Service ) || ( self :: $ callerServiceForNext instanceof Service ) ) ) { throw new \ Exception ( 'You must use an Subbly\Api\Service\Service to save a Model' ) ; } $ this -> callerService = null ; }
Protect the model methods.

@throws \Exception
Protect the model methods .