22
33namespace Salient \Core \Concern ;
44
5- use Lkrms \Support \Introspector as IS ;
5+ use Lkrms \Support \Introspector ;
66use Salient \Core \Contract \Readable ;
77
88/**
99 * Implements Readable
1010 *
11- * - If `_get<Property>()` is defined, `__get` will use its return value instead
12- * of returning the value of `<Property>`.
13- * - If `_isset<Property>()` is defined, `__isset` will use its return value
14- * instead of returning the value of `isset(<Property>)`.
15- * - The existence of `_get<Property>()` implies that `<Property>` is readable,
16- * regardless of {@see HasReadableProperties::getReadableProperties()}'s
17- * return value.
11+ * - If `_get<Property>()` is defined, it is called instead of returning the
12+ * value of `<Property>`.
13+ * - If `_isset<Property>()` is defined, it is called instead of returning
14+ * `isset(<Property>)`.
15+ * - The existence of `_get<Property>()` makes `<Property>` readable, regardless
16+ * of {@see Readable::getReadableProperties()}'s return value.
17+ *
18+ * @api
1819 *
1920 * @see Readable
2021 */
@@ -30,7 +31,7 @@ public static function getReadableProperties(): array
3031 */
3132 private function getProperty (string $ action , string $ name )
3233 {
33- return IS ::get (static ::class)->getPropertyActionClosure ($ name , $ action )($ this );
34+ return Introspector ::get (static ::class)->getPropertyActionClosure ($ name , $ action )($ this );
3435 }
3536
3637 /**
0 commit comments