for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Scalp\PatternMatching;
trait Deconstruction
{
private $args = [];
protected function construct(...$args): void
$this->args = $args;
}
public function deconstruct(): array
return $this->args;