Bulk substitution across all PHP files in src/ and test/. Covers namespace declarations, use statements, fully-qualified class references, and @package PHPDoc tags. No logic changes.
67 lines
1.3 KiB
PHP
67 lines
1.3 KiB
PHP
<?php
|
|
|
|
namespace IndifferentKetchup\Codex\Log;
|
|
|
|
use ArrayAccess;
|
|
use Countable;
|
|
use Iterator;
|
|
use JsonSerializable;
|
|
|
|
/**
|
|
* Interface EntryInterface
|
|
*
|
|
* @package IndifferentKetchup\Codex\Log
|
|
*/
|
|
interface EntryInterface extends Iterator, Countable, ArrayAccess, JsonSerializable
|
|
{
|
|
/**
|
|
* Set all lines at once in an array replacing the current lines
|
|
*
|
|
* @param LineInterface[] $lines
|
|
* @return $this
|
|
*/
|
|
public function setLines(array $lines = []): static;
|
|
|
|
/**
|
|
* Add a line
|
|
*
|
|
* @param LineInterface $line
|
|
* @return $this
|
|
*/
|
|
public function addLine(LineInterface $line): static;
|
|
|
|
/**
|
|
* Get all lines
|
|
*
|
|
* @return LineInterface[]
|
|
*/
|
|
public function getLines(): array;
|
|
|
|
/**
|
|
* @return string
|
|
*/
|
|
public function __toString(): string;
|
|
|
|
/**
|
|
* Return the current element
|
|
*
|
|
* @return LineInterface
|
|
*/
|
|
public function current(): LineInterface;
|
|
|
|
/**
|
|
* Offset to set
|
|
*
|
|
* @param mixed $offset
|
|
* @param LineInterface $value
|
|
*/
|
|
public function offsetSet(mixed $offset, mixed $value): void;
|
|
|
|
/**
|
|
* Offset to retrieve
|
|
*
|
|
* @param mixed $offset
|
|
* @return LineInterface
|
|
*/
|
|
public function offsetGet(mixed $offset): LineInterface;
|
|
} |