fromFile() public static method

Returns the size in bytes from the given file.
public static fromFile ( string $filename ) : string
$filename string
return string
Exemplo n.º 1
0
 /**
  * {@inheritdoc}
  */
 public function size($key)
 {
     return Util\Size::fromFile($this->computePath($key));
 }