src/Repositories/CachingRepository.php
public function get()
    {
        try {
            return $this->cache->remember($this->key, $this->life, function () {
                return $this->repo->get();
            });
        } catch (FetchException $e) {
            throw $e;
        } catch (Exception $e) {
            throw new FetchException($e);
        }
    }
public function get()
    {
        try {
            return $this->cache->remember($this->key, $this->life, function () {
                return $this->repo->get();
            });
        } catch (FetchException $e) {
            throw $e;
        } catch (Exception $e) {
            throw new FetchException($e);
        }
    }
public function get ( ) { try { return $ this -> cache -> remember ( $ this -> key , $ this -> life , function ( ) { return $ this -> repo -> get ( ) ; } ) ; } catch ( FetchException $ e ) { throw $ e ; } catch ( Exception $ e ) { throw new FetchException ( $ e ) ; } }
Fetch the emoji map.

@throws \AltThree\Emoji\Exceptions\FetchException

@return array
Fetch the emoji map .