src/Pinyin.php
public function getLoader()
    {
        if (!($this->loader instanceof DictLoaderInterface)) {
            $dataDir = dirname(__DIR__).'/data/';

            $loaderName = $this->loader;
            $this->loader = new $loaderName($dataDir);
        }

        return $this->loader;
    }
public function getLoader()
    {
        if (!($this->loader instanceof DictLoaderInterface)) {
            $dataDir = dirname(__DIR__).'/data/';

            $loaderName = $this->loader;
            $this->loader = new $loaderName($dataDir);
        }

        return $this->loader;
    }
public function getLoader ( ) { if ( ! ( $ this -> loader instanceof DictLoaderInterface ) ) { $ dataDir = dirname ( __DIR__ ) . '/data/' ; $ loaderName = $ this -> loader ; $ this -> loader = new $ loaderName ( $ dataDir ) ; } return $ this -> loader ; }
Return dict loader,.

@return \Overtrue\Pinyin\DictLoaderInterface
Return dict loader .