for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace ConstructNamedParameters\Traits;
trait StaticCreateTrait
{
/**
* Create an instance of the current object based on named parameters
*
* @param array $values
* @return $this
*/
public static function create(array $values)
return construct_named_parameters(static::class, $values);
}