application/Espo/Core/Utils/Metadata.php
public function getEntityPath($entityName, $delim = '\\')
    {
        $path = $this->getScopePath($entityName, $delim);

        return implode($delim, array($path, 'Entities', Util::normilizeClassName(ucfirst($entityName))));
    }
public function getEntityPath($entityName, $delim = '\\')
    {
        $path = $this->getScopePath($entityName, $delim);

        return implode($delim, array($path, 'Entities', Util::normilizeClassName(ucfirst($entityName))));
    }
public function getEntityPath ( $ entityName , $ delim = '\\' ) { $ path = $ this -> getScopePath ( $ entityName , $ delim ) ; return implode ( $ delim , array ( $ path , 'Entities' , Util :: normilizeClassName ( ucfirst ( $ entityName ) ) ) ) ; }
Get Entity path, ex. Espo.Entities.Account or Modules\Crm\Entities\MyModule

@param string $entityName
@param bool $delim - delimiter

@return string
Get Entity path ex . Espo . Entities . Account or Modules \ Crm \ Entities \ MyModule