создайте свой класс который будет наследоваться от той библиотеки, в нем пропишите:
/**
* Base class that represents a query for the 'tasks' table.
*
* @method ChildTaskQuery groupById() Group by the id column
* @method ChildTaskQuery groupByCreatedAt() Group by the created_at column
* @method ChildTaskQuery groupByUpdatedAt() Group by the updated_at column
*
* @method ChildTaskQuery leftJoin($relation) Adds a LEFT JOIN clause to the query
* @method ChildTaskQuery rightJoin($relation) Adds a RIGHT JOIN clause to the query
* @method ChildTaskQuery innerJoin($relation) Adds a INNER JOIN clause to the query
*
*/
class MyClass extends \Core\Class
{
Методы после этого должны подхватываться при работе с данным классом