public getCategoryPath ( ) : string | ||
Результат | string |
public function getCategoryPath()
{
if ($this->category !== null) {
return $this->category->getCategoryPath();
} else {
return '';
}
}