Amp\Artax\FileBody::__construct PHP Méthode

__construct() public méthode

public __construct ( string $path )
$path string The filesystem path for the file we wish to send
    public function __construct($path)
    {
        $this->path = (string) $path;
    }