FileInterface::setSize

public FileInterface::setSize($size)

Sets the size of the file.

Parameters

int $size: The size of the file in bytes.

File

core/modules/file/src/FileInterface.php, line 83

Class

FileInterface
Defines getter and setter methods for file entity base fields.

Namespace

Drupal\file

Code

public function setSize($size);
doc_Drupal
2016-10-29 09:13:30
Comments
Leave a Comment

Please login to continue.