PHPdocs keywords

List of keywords used in phpdoc attributes.

Keyword Value Count
@author Fabien Potencier 1
Jordi Boggiano 1
@deprecated Use getAllRawData() instead which returns all datasets for all autoloaders present in the process. getRawData only returns the first dataset loaded, which may not be what you expect. 1
@final */ 1
@internal */ 1
@param string $type 1
bool $includeDevRequirements 1
VersionParser $parser Install composer/semver to have access to this class and functionality 1
string $packageName 1
string|null $constraint A version constraint to check for, if you pass one you have to make sure composer/semver is required by your package 1
array[] $data A vendor/composer/installed.php data set 1
string|null $vendorDir 1
array $classMap Class to filename map 1
string $prefix The prefix 1
list|string $paths The PSR-0 root directories 1
string $prefix The prefix/namespace, with trailing '\\' 1
list|string $paths The PSR-4 base directories 1
string $prefix The prefix 1
list|string $paths The PSR-0 base directories 1
string $prefix The prefix/namespace, with trailing '\\' 1
list|string $paths The PSR-4 base directories 1
bool $useIncludePath 1
bool $classMapAuthoritative 1
string|null $apcuPrefix 1
bool $prepend Whether to prepend the autoloader or not 1
string $class The name of the class 1
string $class The name of the class 1
string $class 1
string $ext 1
string $packageName 2
bool $prepend Whether to prepend the directories 2
string $packageName 4
@return string Version constraint usable with composer/semver 1
string|null If the package is being replaced or provided but is not really installed, null will be returned as reference 1
string|null If the package is being replaced or provided but is not really installed, null will be returned as install path. Packages of type metapackages also have a null install path. 1
array 1
string 1
array Array of classname => path 1
string|null 1
true|null True if loaded, null otherwise 1
string|false The path if found, false otherwise 1
array 1
string|false 1
string[] 2
string|null If the package is being replaced or provided but is not really installed, null will be returned as version, use satisfies or getVersionRanges if you need to know if a given version is present 2
array> 2
list 2
array[] 3
bool 4
void 12
@see https://www.php-fig.org/psr/psr-0/ 1
https://www.php-fig.org/psr/psr-4/ 1
@throws \InvalidArgumentException 2
@var string|null if set (by reflection by Composer), this should be set to the path where this class is being copied to 1
mixed[]|null 1
bool 1
bool|null 1
array[] 1
array> 1
\Closure(string):void */ 1
array>> 1
array> 1
array 1
array 1
array 1
string|null */ 2
list 2
bool */ 2