mirror of
https://github.com/getgrav/grav.git
synced 2026-08-05 02:41:04 +02:00
Implemented AbstractMedia::__debugInfo() (returns serialized object)
This commit is contained in:
@@ -69,6 +69,14 @@ abstract class AbstractMedia implements ExportInterface, MediaCollectionInterfac
|
||||
/** @var bool Hack to make Iterator work together with unset(). */
|
||||
private bool $iteratorUnset = false;
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function __debugInfo(): array
|
||||
{
|
||||
return $this->__serialize();
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user