You can extend a class and override its methods by having the same name then call it's parent method with this line return parent:methodName();
but how do you override a property?
I have this code
namespace Earl\AddOn\XF\Searcher;
class User extends XFCP_User
{
protected $allowedRelations...