OCA\OcSms\Lib\ContactCache::getContacts PHP Method

getContacts() public method

public getContacts ( )
    public function getContacts()
    {
        // Only load contacts if they aren't in the buffer
        if (count($this->contacts) == 0) {
            $this->loadContacts();
        }
        return $this->contacts;
    }