From ad2e7176d080ab7f883550f68225070929b0e70c Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 16 Feb 2018 17:52:33 +0100 Subject: [PATCH 1/2] Mentioned the support of hasser methods --- components/property_info.rst | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/components/property_info.rst b/components/property_info.rst index 041ca7ffe8e..22e0fcbae15 100644 --- a/components/property_info.rst +++ b/components/property_info.rst @@ -236,10 +236,14 @@ provide whether properties are readable or writable as booleans. // Example Result: bool(false) The :class:`Symfony\\Component\\PropertyInfo\\Extractor\\ReflectionExtractor` looks -for getter/isser/setter method in addition to whether or not a property is public +for getter/isser/setter/hassser method in addition to whether or not a property is public to determine if it's accessible. This based on how the :doc:`PropertyAccess ` works. +.. versionadded:: 4.1 + The support of hasser methods in the ``ReflectionExtractor`` class was + introduced in Symfony 4.1. + .. tip:: The main :class:`Symfony\\Component\\PropertyInfo\\PropertyInfoExtractor` From 34b75d49648ec0269979cb509485940b348fa81f Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Fri, 16 Feb 2018 17:53:21 +0100 Subject: [PATCH 2/2] Typo --- components/property_info.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/property_info.rst b/components/property_info.rst index 22e0fcbae15..09aac82853f 100644 --- a/components/property_info.rst +++ b/components/property_info.rst @@ -236,7 +236,7 @@ provide whether properties are readable or writable as booleans. // Example Result: bool(false) The :class:`Symfony\\Component\\PropertyInfo\\Extractor\\ReflectionExtractor` looks -for getter/isser/setter/hassser method in addition to whether or not a property is public +for getter/isser/setter/hasser method in addition to whether or not a property is public to determine if it's accessible. This based on how the :doc:`PropertyAccess ` works.