for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace AsyncPHP\Icicle\Database\Method;
trait CloneWithMethod
{
/**
* @param string $key
* @param mixed $value
*
* @return static
*/
public function cloneWith($key, $value)
$clone = clone $this;
$clone->$key = $value;
return $clone;
}