Skip to content

Commit 649b71b

Browse files
committed
Clarify getMappedType usage
1 parent 58b3dc8 commit 649b71b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/JsonMapper.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -725,6 +725,8 @@ protected function createInstance(
725725
* Get the mapped class/type name for this class.
726726
* Returns the incoming classname if not mapped.
727727
*
728+
* Lets you override class names via the $classMap property.
729+
*
728730
* @param string|null $type Type name to map
729731
* @param mixed $jvalue Constructor parameter (the json value)
730732
*

0 commit comments

Comments
 (0)