App\Http\Controllers\LangController::getLinesWithKey PHP Method

getLinesWithKey() public method

다국어 에디터가 ajax로 값을 읽은 경우 실행
public getLinesWithKey ( $key )
    public function getLinesWithKey($key)
    {
        list($namespace, $item) = XeLang::parseKey($key);
        $lines = $this->search(['namespace' => $namespace, 'item' => $item])->get();
        return XePresenter::makeApi($lines);
    }