REDROOM
PHP 8.0.30
Path:
Logout
Edit File
Size: 1.25 KB
Close
/proc/self/cwd/wp/wp-content/plugins/wordpress-importer/php-toolkit/DataLiberation/EntityReader/interface-entity-reader.php
Text
Base64
<?php namespace WordPress\DataLiberation\EntityReader; /** * The Entity Reader ingests content from a source and breaks it down into * individual "entities" that WordPress understands - posts, comments, metadata, etc. */ interface EntityReader { /** * Gets the current entity being processed. * * @return ImportedEntity|false The current entity, or false if none available */ public function get_entity(); /** * Advances to the next entity in the source content. * * This is where each data source implements its own logic for parsing the bytes * and extracting the next meaningful piece of content. * * @return bool Whether we successfully moved to the next entity */ public function next_entity(); /** * Checks if we've processed everything from the source. * * @return bool Whether we've processed everything from the source */ public function is_finished(): bool; /** * Returns a cursor position that can be used to resume processing later. * * This allows for processing large imports in chunks without losing your place. * Not all readers support this yet. * * @TODO: Define a general interface for entity readers. * @return string Position marker for resuming later */ public function get_reentrancy_cursor(); }
Save
Close
Exit & Reset
Text mode: syntax highlighting auto-detects file type.
Directory Contents
Dirs: 0 × Files: 3
Delete Selected
Select All
Select None
Sort:
Name
Size
Modified
Enable drag-to-move
Name
Size
Perms
Modified
Actions
class-wxrentityreader.php
30.19 KB
lrw-r--r--
2026-04-02 06:14:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
entity-reader.php
1.25 KB
lrw-r--r--
2026-04-02 06:14:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
interface-entity-reader.php
1.25 KB
lrw-r--r--
2026-04-02 06:14:57
Edit
Download
Rename
Chmod
Change Date
Delete
OK
Cancel
recursive
OK
Cancel
recursive
OK
Cancel
Zip Selected
If ZipArchive is unavailable, a
.tar
will be created (no compression).