public function getDescription()
{
$reflectionClass = new \ReflectionClass($this);
$lines = explode(chr(10), $reflectionClass->getDocComment());
foreach ($lines as $line) {
$line = trim($line);
if ($line === '' || $line === '/**' || $line === '*' || $line === '*/' || strpos($line, '* @') !== false) {
continue;
}
return preg_replace('/\\s*\\/?[\\\\*]*\\s?(.*)$/', '$1', $line);
}
}