for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Collections\Traits;
use Collections\Exception\InvalidOperationException;
trait ImmSetLikeTrait
{
use ConstSetLikeTrait, CommonImmMutableContainerTrait;
public function offsetSet($offset, $value)
$offset
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.
$value
throw InvalidOperationException::unsupportedSet($this);
}
public function offsetUnset($offset)
throw InvalidOperationException::unsupportedUnset($this);
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.