Checks if resource is a file.
Parameters
$filestringrequired- File path.
Source
public function is_file( $file ) {
return is_file( $this->sftp_path( $file ) );
}
Changelog
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
Checks if resource is a file.
$filestringrequiredpublic function is_file( $file ) {
return is_file( $this->sftp_path( $file ) );
}
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.