public function validateLifecycleCallbacks(ReflectionService $reflService)
    {
        foreach ($this->lifecycleCallbacks as $callbacks) {
            foreach ($callbacks as $callbackFuncName) {
                if (!$reflService->hasPublicMethod($this->name, $callbackFuncName)) {
                    throw MappingException::lifecycleCallbackMethodNotFound($this->name, $callbackFuncName);
                }
            }
        }
    }
public function validateLifecycleCallbacks(ReflectionService $reflService)
    {
        foreach ($this->lifecycleCallbacks as $callbacks) {
            foreach ($callbacks as $callbackFuncName) {
                if (!$reflService->hasPublicMethod($this->name, $callbackFuncName)) {
                    throw MappingException::lifecycleCallbackMethodNotFound($this->name, $callbackFuncName);
                }
            }
        }
    }
public function validateLifecycleCallbacks ( ReflectionService $ reflService ) { foreach ( $ this -> lifecycleCallbacks as $ callbacks ) { foreach ( $ callbacks as $ callbackFuncName ) { if ( ! $ reflService -> hasPublicMethod ( $ this -> name , $ callbackFuncName ) ) { throw MappingException :: lifecycleCallbackMethodNotFound ( $ this -> name , $ callbackFuncName ) ; } } } }
Validate lifecycle callbacks.

@param ReflectionService $reflService

@throws MappingException if a declared callback does not exist
Validate lifecycle callbacks .