PHP Code:
namespace Espo\Modules\<ModuleName>;
For example, a new class called Stuff in the Classes folder in a module called CalendarExt would be coded as follows:
PHP Code:
<?php
namespace Espo\Modules\CalendarExt\Classes;
class Stuff
{
...
}
Leave a comment: