public function __construct(array $attributes = array()) { $this->table = config('friendships.tables.fr_groups_pivot'); parent::__construct($attributes); }