# fluentform/3.6.51/app/Services/fluentvalidator/src/Contracts/File.php

Fluent Forms – Customizable Contact Forms, Survey, Quiz, &amp; Conversational Form Builder, version 3.6.51. 35 lines.

- Page: https://pluginprobe.com/plugins/fluentform/3.6.51/code/app/Services/fluentvalidator/src/Contracts/File.php
- Raw: https://pluginprobe.com/plugins/fluentform/3.6.51/raw/app/Services/fluentvalidator/src/Contracts/File.php
- Modified: 2019-05-31T20:28:28+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/fluentform/3.6.51/code/app/Services/fluentvalidator/src/Contracts/File.php#L10-L20`.

```php
<?php

namespace FluentValidator\Contracts;

interface File
{
    /**
     * Returns whether the file was uploaded successfully.
     *
     * @return bool
     */
    public function isValid();

    /**
     * Gets the path without filename
     *
     * @return string
     */
    public function getPath();

    /**
     * Take an educated guess of the file's extension.
     *
     * @return mixed|null
     */
    public function guessExtension();

    /**
     * Returns the original file extension.
     *
     * @return string
     */
    public function getClientOriginalExtension();
}

```
