# code-snippets/3.9.1/php/flat-files/interfaces/interface-snippet-handler.php

Code Snippets, version 3.9.1. 10 lines.

- Page: https://pluginprobe.com/plugins/code-snippets/3.9.1/code/php/flat-files/interfaces/interface-snippet-handler.php
- Raw: https://pluginprobe.com/plugins/code-snippets/3.9.1/raw/php/flat-files/interfaces/interface-snippet-handler.php
- Modified: 2025-10-16T19:08:06+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/code-snippets/3.9.1/code/php/flat-files/interfaces/interface-snippet-handler.php#L10-L20`.

```php
<?php

namespace Code_Snippets;

interface Snippet_Type_Handler_Interface {
	public function get_file_extension(): string;
	public function get_dir_name(): string;
	public function wrap_code( string $code ): string;
}

```
