interface File
Interface for files processed by the ProjectFactory
Hierarchy
- interface \phpDocumentor\Reflection\File
Expanded class hierarchy of File
All classes that implement File
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/
phpdocumentor/ reflection-common/ src/ File.php, line 19
Namespace
phpDocumentor\ReflectionView source
interface File {
/**
* Returns the content of the file as a string.
*/
public function getContents() : string;
/**
* Returns md5 hash of the file.
*/
public function md5() : string;
/**
* Returns an relative path to the file.
*/
public function path() : string;
}
Members
Title Sort descending | Modifiers | Object type | Summary |
---|---|---|---|
File::getContents | public | function | Returns the content of the file as a string. |
File::md5 | public | function | Returns md5 hash of the file. |
File::path | public | function | Returns an relative path to the file. |