SYMBOL INDEX (124 symbols across 32 files) FILE: src/Mpesa/Auth/Authenticator.php class Authenticator (line 19) | class Authenticator method __construct (line 31) | public function __construct(Core $core) method flushTokens (line 41) | public function flushTokens() method getCacheKey (line 57) | protected function getCacheKey($key, $secret) method authenticate (line 69) | public function authenticate() method makeRequest (line 99) | private function makeRequest($key, $secret) method saveCredentials (line 117) | private function saveCredentials($key, $credentials) method generateException (line 132) | private function generateException($reason) FILE: src/Mpesa/C2B/Identity.php class Identity (line 11) | class Identity method validate (line 23) | public function validate($number, $callback = null) FILE: src/Mpesa/C2B/Registrar.php class Registrar (line 11) | class Registrar method register (line 57) | public function register($shortCode) method onValidation (line 71) | public function onValidation($validationURL) method onConfirmation (line 85) | public function onConfirmation($confirmationURL) method onTimeout (line 99) | public function onTimeout($onTimeout = 'Completed') method usingAccount (line 117) | public function usingAccount($account) method submit (line 137) | public function submit($shortCode = null, $confirmationURL = null, $va... FILE: src/Mpesa/C2B/STK.php class STK (line 15) | class STK method setCallback (line 47) | public function setCallback(string $callback) method push (line 66) | public function push( method validate (line 120) | public function validate($checkoutRequestID, $account = null) FILE: src/Mpesa/C2B/Simulate.php class Simulate (line 13) | class Simulate method push (line 39) | public function push( FILE: src/Mpesa/Contracts/CacheStore.php type CacheStore (line 12) | interface CacheStore method get (line 22) | public function get($key, $default = null); method put (line 31) | public function put($key, $value, $seconds = null); method pull (line 41) | public function pull($key, $default = null); FILE: src/Mpesa/Contracts/ConfigurationStore.php type ConfigurationStore (line 12) | interface ConfigurationStore method get (line 22) | public function get($key, $default = null); FILE: src/Mpesa/Engine/Core.php class Core (line 14) | class Core method __construct (line 40) | public function __construct( method setupStores (line 55) | protected function setupStores(ConfigurationStore $configStore = null,... method initialise (line 64) | private function initialise() method configRepository (line 74) | public function configRepository() method cache (line 84) | public function cache() method client (line 94) | public function client() method auth (line 104) | public function auth() method useAccount (line 117) | public function useAccount($account = null) method useClient (line 131) | public function useClient(ClientInterface $client) FILE: src/Mpesa/Exceptions/ConfigurationException.php class ConfigurationException (line 7) | class ConfigurationException extends Exception FILE: src/Mpesa/Exceptions/ErrorException.php class ErrorException (line 7) | class ErrorException extends Exception FILE: src/Mpesa/Laravel/Facades/Identity.php class Identity (line 18) | class Identity extends Facade method getFacadeAccessor (line 25) | protected static function getFacadeAccessor() FILE: src/Mpesa/Laravel/Facades/Registrar.php class Registrar (line 23) | class Registrar extends Facade method getFacadeAccessor (line 30) | protected static function getFacadeAccessor() FILE: src/Mpesa/Laravel/Facades/STK.php class STK (line 23) | class STK extends Facade method getFacadeAccessor (line 30) | protected static function getFacadeAccessor() FILE: src/Mpesa/Laravel/Facades/Simulate.php class Simulate (line 24) | class Simulate extends Facade method getFacadeAccessor (line 31) | protected static function getFacadeAccessor() FILE: src/Mpesa/Laravel/ServiceProvider.php class ServiceProvider (line 17) | class ServiceProvider extends RootProvider method boot (line 22) | public function boot() method register (line 32) | public function register() method bindInstances (line 44) | private function bindInstances() method registerFacades (line 56) | private function registerFacades() FILE: src/Mpesa/Laravel/Stores/LaravelCache.php class LaravelCache (line 8) | class LaravelCache implements CacheStore method __construct (line 20) | public function __construct(Repository $repository) method get (line 33) | public function get($key, $default = null) method put (line 45) | public function put($key, $value, $seconds = null) method pull (line 58) | public function pull($key, $default = null) FILE: src/Mpesa/Laravel/Stores/LaravelConfig.php class LaravelConfig (line 8) | class LaravelConfig implements ConfigurationStore method __construct (line 20) | public function __construct(Repository $repository) method get (line 33) | public function get($key, $default = null) FILE: src/Mpesa/Native/NativeCache.php class NativeCache (line 19) | class NativeCache implements CacheStore method __construct (line 31) | public function __construct($cacheDirectory = null) method setUp (line 43) | private function setUp($cacheDirectory = null) method get (line 69) | public function get($key, $default = null) method put (line 90) | public function put($key, $value, $seconds = null) method formatTimeFromSeconds (line 108) | private function formatTimeFromSeconds($seconds = null) method cleanCache (line 134) | private function cleanCache($initial, $location, $save = true) method pull (line 163) | public function pull($key, $default = null) FILE: src/Mpesa/Native/NativeConfig.php class NativeConfig (line 14) | class NativeConfig implements ConfigurationStore method __construct (line 28) | public function __construct($configPath = null) method get (line 49) | public function get($key, $default = null) FILE: src/Mpesa/Repositories/ConfigurationRepository.php class ConfigurationRepository (line 15) | class ConfigurationRepository method __construct (line 40) | public function __construct(ConfigurationStore $store) method store (line 50) | public function store() method config (line 63) | public function config($key = null, $default = null) method useAccount (line 90) | public function useAccount($account = null) method getAccountKey (line 112) | public function getAccountKey($key, $default = null) method url (line 125) | public function url($endpoint) method resolveUrl (line 141) | private function resolveUrl($base, $key) FILE: src/Mpesa/Repositories/Endpoint.php class Endpoint (line 5) | class Endpoint FILE: src/Mpesa/Support/Installer.php class Installer (line 7) | class Installer method install (line 9) | public static function install(Event $event) method getConfigDirectory (line 19) | public static function getConfigDirectory(Event $event) FILE: src/Mpesa/Support/helpers.php function mpesa_endpoint (line 5) | function mpesa_endpoint($endpoint) FILE: src/Mpesa/Traits/UsesCore.php type UsesCore (line 7) | trait UsesCore method __construct (line 17) | public function __construct(Core $core) method clientRequest (line 30) | private function clientRequest($body, $endpoint) method bearer (line 46) | protected function bearer() method password (line 60) | private function password($shortCode, $passkey, $time) FILE: src/Mpesa/Traits/UsesSTKMethods.php type UsesSTKMethods (line 8) | trait UsesSTKMethods method usingAccount (line 59) | public function usingAccount($account) method usingReference (line 74) | public function usingReference($reference, $description) method request (line 91) | public function request($amount) method from (line 110) | public function from($number) method setCommand (line 128) | public function setCommand($command) method set (line 148) | private function set($amount, $number, $command) FILE: src/Mpesa/Traits/Validates.php type Validates (line 7) | trait Validates method validateNumber (line 18) | protected function validateNumber($number) method validateAmount (line 31) | protected function validateAmount($amount) FILE: tests/TestCase.php class TestCase (line 11) | class TestCase extends PHPUnit method core (line 20) | protected function core(ClientInterface $client) FILE: tests/Unit/AuthenticatorTest.php class AuthenticatorTest (line 12) | class AuthenticatorTest extends TestCase method testCanAuthenticateUsingRequestAndCached (line 19) | public function testCanAuthenticateUsingRequestAndCached() FILE: tests/Unit/ConfigurationRepositoryTest.php class ConfigurationRepositoryTest (line 9) | class ConfigurationRepositoryTest extends TestCase method nativeConfig (line 16) | protected function nativeConfig() method testCanConstruct (line 24) | public function testCanConstruct() method testCanExtractConfigAndAccountValues (line 33) | public function testCanExtractConfigAndAccountValues() method testCanResolveUrl (line 51) | public function testCanResolveUrl() FILE: tests/Unit/NativeImplementationsTest.php class NativeImplementationsTest (line 10) | class NativeImplementationsTest extends TestCase method testCanUseNativeConfig (line 18) | public function testCanUseNativeConfig() method testCanGetWholeConfiguration (line 30) | public function testCanGetWholeConfiguration() method testCanUseNativeCache (line 40) | public function testCanUseNativeCache() method testCanOverwriteCacheItem (line 51) | public function testCanOverwriteCacheItem() method testCacheExpires (line 65) | public function testCacheExpires() method testCanConstructWithoutConfig (line 78) | public function testCanConstructWithoutConfig() method testTTLImplementation (line 88) | public function testTTLImplementation() method testShouldPullCacheItem (line 99) | public function testShouldPullCacheItem() FILE: tests/Unit/RegistrarTest.php class RegistrarTest (line 12) | class RegistrarTest extends TestCase method testRegisterUrls (line 19) | public function testRegisterUrls() FILE: tests/Unit/STKTest.php class STKTest (line 12) | class STKTest extends TestCase method testPushRequest (line 19) | public function testPushRequest() method testValidateTransaction (line 48) | public function testValidateTransaction()