src/AuraInputInterceptor.php
private function getFormProperty(AbstractValidation $formValidation, $object)
    {
        if (! property_exists($object, $formValidation->form)) {
            throw new InvalidFormPropertyException($formValidation->form);
        }
        $prop = (new \ReflectionClass($object))->getProperty($formValidation->form);
        $prop->setAccessible(true);
        $form = $prop->getValue($object);
        if (! $form instanceof AbstractForm) {
            throw new InvalidFormPropertyException($formValidation->form);
        }

        return $form;
    }
private function getFormProperty(AbstractValidation $formValidation, $object)
    {
        if (! property_exists($object, $formValidation->form)) {
            throw new InvalidFormPropertyException($formValidation->form);
        }
        $prop = (new \ReflectionClass($object))->getProperty($formValidation->form);
        $prop->setAccessible(true);
        $form = $prop->getValue($object);
        if (! $form instanceof AbstractForm) {
            throw new InvalidFormPropertyException($formValidation->form);
        }

        return $form;
    }
private function getFormProperty ( AbstractValidation $ formValidation , $ object ) { if ( ! property_exists ( $ object , $ formValidation -> form ) ) { throw new InvalidFormPropertyException ( $ formValidation -> form ) ; } $ prop = ( new \ ReflectionClass ( $ object ) ) -> getProperty ( $ formValidation -> form ) ; $ prop -> setAccessible ( true ) ; $ form = $ prop -> getValue ( $ object ) ; if ( ! $ form instanceof AbstractForm ) { throw new InvalidFormPropertyException ( $ formValidation -> form ) ; } return $ form ; }
Return form property

@param AbstractValidation $formValidation
@param object             $object

@return mixed
Return form property