| Server IP : 45.77.68.45 / Your IP : 127.0.0.100 Web Server : PHPix/0.2.2 (Caddy compatible) System : wasi wasmer.sh 0.0.0 0.0.0 wasm32 User : ( 1) PHP Version : 8.3.21 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /app/wp-content/plugins/wordpress-seo/src/llms-txt/domain/file/ |
Upload File : |
<?php
// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong
namespace Yoast\WP\SEO\Llms_Txt\Domain\File;
/**
* Interface to describe handeling the llms.txt file.
*/
interface Llms_File_System_Interface {
/**
* Method to set the llms.txt file content.
*
* @param string $content The content for the file.
*
* @return bool True on success, false on failure.
*/
public function set_file_content( string $content ): bool;
/**
* Method to remove the llms.txt file from the file system.
*
* @return bool True on success, false on failure.
*/
public function remove_file(): bool;
/**
* Gets the contents of the current llms.txt file.
*
* @return string
*/
public function get_file_contents(): string;
/**
* Checks if the llms.txt file exists.
*
* @return bool Whether the llms.txt file exists.
*/
public function file_exists(): bool;
}