create()
create(object $data, \phpDocumentor\Descriptor\Builder\T|null $descriptor = null) : \phpDocumentor\Descriptor\Builder\T|null
Parameters
object | $data | |
\phpDocumentor\Descriptor\Builder\T|null | $descriptor |
A step in creating descriptors from reflection elements
A reducer can take over part of building a descriptor from the step before. For example descriptions are always handled the same way. There could be a reducer to create the description and set it to the input descriptor.