Selecting Properties
By default, the properties defined in your config under include_properties are loaded for each query.
php
use Rollogi\LaravelHubspot\Crm\Contact;
// Add extra properties on top of defaults
$contacts = Contact::query()
->include(['phone', 'company'])
->get();
// Only include specific properties (clears defaults)
$contacts = Contact::query()
->includeOnly(['email', 'firstname'])
->get();
// select() is an alias for includeOnly()
$contacts = Contact::query()
->select(['email', 'firstname'])
->get();
// Clear all default properties
$contacts = Contact::query()
->clearProperties()
->get();
// Include all known properties (fetches from definitions)
$contacts = Contact::query()
->full()
->get();