for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/* For licensing terms, see /license.txt */
namespace Chamilo\CoreBundle\Traits;
use Chamilo\CoreBundle\Entity\Course;
/**
* Trait CourseTrait
*/
trait CourseTrait
{
* @return Course
public function getCourse()
return $this->course;
}
* @param Course $course
*
* @return $this
public function setCourse(Course $course): self
$this->course = $course;
course
return $this;