for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Symfony\Component\Validator\Constraints as Assert;
#[ORM\Table(name: 'skill_profile')]
#[ORM\Entity]
class SkillProfile
{
#[ORM\Column(name: 'id', type: 'integer')]
#[ORM\Id]
#[ORM\GeneratedValue]
protected ?int $id = null;
#[Assert\NotBlank]
#[ORM\Column(name: 'title', type: 'string', length: 255, nullable: false)]
protected string $title;
#[ORM\Column(name: 'description', type: 'text', nullable: false)]
protected string $description;
public function setTitle(string $title): self
$this->title = $title;
return $this;
}
/**
* Get title.
*
* @return string
*/
public function getTitle()
return $this->title;
public function setDescription(string $description): self
$this->description = $description;
* Get description.
public function getDescription()
return $this->description;
* Get id.
* @return int
public function getId()
return $this->id;