我发现了一个旧库,它使用@type
停靠块内的标签,更具体地说是定义类属性,例如:
/**
* Mapping of database columns to attachment fields.
*
* @type array
*/
protected $_columns = array();
/**
* Default transform settings.
*
* @type array {
* @type string $class The transform method / class to use
* @type string $nameCallback Method to format filename with
* @type string $append What to append to the end of the filename
* @type string $prepend What to prepend to the beginning of the filename
* @type string $uploadDir Directory to move file to after upload to make it publicly accessible
* @type string $transportDir Directory to place files in after transporting
* @type string $finalPath The final path to prepend to file names (like a domain)
* @type string $dbColumn Database column to write file path to
* @type string $defaultPath Default image if no file is uploaded
* @type bool $overwrite Overwrite a file with the same name if it exists
* @type bool $self Should the transforms apply to the uploaded file instead of creating new images
* }
*/
protected $_transformSettings = array(
'class' => '',
'nameCallback' => '',
'append' => '',
'prepend' => '',
'uploadDir' => '',
'transportDir' => '',
'finalPath' => '',
'dbColumn' => '',
'defaultPath' => '',
'overwrite' => false,
'self' => false
);
我无法在任何常用工具(phpDocumentor/1、phpDocumentor/2、DocBlox ...)中找到对此类标记的任何引用。
你知道这个标签可能来自哪个工具/文档吗?