for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace Kmeans\Concerns;
trait HasDataTrait
{
/**
* @var mixed
*/
private $data;
* @return mixed
public function getData()
return $this->data;
}
* @param mixed $data
public function setData($data): void
$this->data = $data;