Spaces:
No application file
No application file
File size: 644 Bytes
d2897cd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
<?php
namespace MauticPlugin\MauticFullContactBundle\Services;
/**
* This class handles everything related to the Company lookup API.
*
* @author Adam Curtis <me@alc.im>
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache
*/
class FullContact_Company extends FullContact_Base
{
/**
* Supported lookup methods.
*
* @var array
*/
protected $_supportedMethods = ['domain'];
protected $_resourceUri = '/company/lookup.json';
public function lookupByDomain($search)
{
$this->_execute(['domain' => $search, 'method' => 'domain']);
return $this->response_obj;
}
}
|