class File
Same name in this branch
- 11.1.x vendor/phpunit/php-code-coverage/src/Node/File.php \SebastianBergmann\CodeCoverage\Node\File
- 11.1.x vendor/phpunit/php-code-coverage/src/Report/Html/Renderer/File.php \SebastianBergmann\CodeCoverage\Report\Html\File
- 11.1.x vendor/phpunit/php-code-coverage/src/Report/Xml/File.php \SebastianBergmann\CodeCoverage\Report\Xml\File
- 11.1.x vendor/nikic/php-parser/lib/PhpParser/Node/Scalar/MagicConst/File.php \PhpParser\Node\Scalar\MagicConst\File
- 11.1.x vendor/symfony/mime/Part/File.php \Symfony\Component\Mime\Part\File
- 11.1.x vendor/symfony/validator/Constraints/File.php \Symfony\Component\Validator\Constraints\File
- 11.1.x vendor/symfony/http-foundation/File/File.php \Symfony\Component\HttpFoundation\File\File
- 11.1.x vendor/squizlabs/php_codesniffer/src/Files/File.php \PHP_CodeSniffer\Files\File
- 11.1.x core/lib/Drupal/Core/Render/Element/File.php \Drupal\Core\Render\Element\File
- 11.1.x core/modules/file/src/Plugin/migrate/source/d6/File.php \Drupal\file\Plugin\migrate\source\d6\File
- 11.1.x core/modules/file/src/Plugin/migrate/source/d7/File.php \Drupal\file\Plugin\migrate\source\d7\File
- 11.1.x core/modules/file/src/Plugin/views/field/File.php \Drupal\file\Plugin\views\field\File
- 11.1.x core/modules/file/src/Plugin/views/wizard/File.php \Drupal\file\Plugin\views\wizard\File
- 11.1.x core/modules/file/src/Entity/File.php \Drupal\file\Entity\File
- 11.1.x core/modules/media/src/Plugin/media/Source/File.php \Drupal\media\Plugin\media\Source\File
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit
@psalm-immutable
Hierarchy
- class \PHPUnit\TextUI\Configuration\File
Expanded class hierarchy of File
10 files declare their use of File
- Clover.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ CodeCoverage/ Report/ Clover.php - Cobertura.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ CodeCoverage/ Report/ Cobertura.php - Crap4j.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ CodeCoverage/ Report/ Crap4j.php - Html.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ Logging/ TestDox/ Html.php - Junit.php in vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Xml/ Logging/ Junit.php
171 string references to 'File'
- AbstractUriElement::__construct in vendor/
symfony/ dom-crawler/ AbstractUriElement.php - ArchiveCommand::execute in vendor/
composer/ composer/ src/ Composer/ Command/ ArchiveCommand.php - Executes the current command.
- AssetResolver::getCssAssets in core/
lib/ Drupal/ Core/ Asset/ AssetResolver.php - Returns the CSS assets for the current response's libraries.
- AssetResolver::getJsAssets in core/
lib/ Drupal/ Core/ Asset/ AssetResolver.php - Returns the JavaScript assets for the current response's libraries.
- BaseFieldFileFormatterBase::isApplicable in core/
modules/ file/ src/ Plugin/ Field/ FieldFormatter/ BaseFieldFileFormatterBase.php - Returns if the formatter can be used for the provided field.
File
-
vendor/
phpunit/ phpunit/ src/ TextUI/ Configuration/ Value/ File.php, line 17
Namespace
PHPUnit\TextUI\ConfigurationView source
final class File {
/**
* @psalm-var non-empty-string
*/
private readonly string $path;
/**
* @psalm-param non-empty-string $path
*/
public function __construct(string $path) {
$this->path = $path;
}
/**
* @psalm-return non-empty-string
*/
public function path() : string {
return $this->path;
}
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
File::$path | private | property | @psalm-var non-empty-string |
File::path | public | function | @psalm-return non-empty-string |
File::__construct | public | function | @psalm-param non-empty-string $path |