Reads entire file into an array.
Parameters
$filestringrequired- Path to the file.
Source
public function get_contents_array( $file ) {
return file( $this->sftp_path( $file ) );
}
Changelog
| Version | Description |
|---|---|
| 2.7.0 | Introduced. |
Reads entire file into an array.
$filestringrequiredpublic function get_contents_array( $file ) {
return 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.