for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DoctrineTest\InstantiatorTestAsset;
use ArrayObject;
use BadMethodCallException;
use Serializable;
/**
* Serializable test asset that also extends an internal class
*/
class SerializableArrayObjectAsset extends ArrayObject implements Serializable
{
* Constructor - should not be called
*
* @throws BadMethodCallException
public function __construct()
throw new BadMethodCallException('Not supposed to be called!');
}
* {@inheritDoc}
public function serialize()
return '';
* Should not be called
public function unserialize($serialized)