YoastSEO_Vendor\Psr\Http\Message
UploadedFileInterface::getSize() public Yoast 1.0
Retrieve the file size.
Implementations SHOULD return the value stored in the "size" key of the file in the $_FILES array if available, as PHP calculates this based on the actual size transmitted.
{} Это метод класса: UploadedFileInterface{}
Хуков нет.
Возвращает
Число/null
. The file size in bytes or null if unknown.
Использование
$UploadedFileInterface = new UploadedFileInterface(); $UploadedFileInterface->getSize();
Код UploadedFileInterface::getSize() UploadedFileInterface::getSize Yoast 16.1.1
public function getSize();