Implemented AbstractMedia::__debugInfo() (returns serialized object)

This commit is contained in:
Matias Griese
2022-06-10 14:52:37 +03:00
parent ab6ee23357
commit 848cef74ce

View File

@@ -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
*/