for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace steevanb\EntityUtils\Entity\Accessor;
/**
* This trait need a property named $slug
*/
trait SlugAccessorTrait
{
* @param string $slug
* @return $this
public function setSlug($slug)
$this->slug = $slug;
return $this;
}
* @return string
public function getSlug()
return $this->slug;