2017 © Pedro Peláez
 

library search-char

This bundle is for searching word by char

image

staspiv/search-char

This bundle is for searching word by char

  • Tuesday, August 16, 2016
  • by StasPiv
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

<?php, (*1)

use StasPiv\SearchChar\Handler\TextHandler; use StasPiv\SearchChar\Model\Keyword; use StasPiv\SearchChar\Model\Text;, (*2)

$testText = 'London is the capital of Great Britain'; $testKeyword = 'London';, (*3)

$text = new Text($testText); $keyword = new Keyword($testKeyword);, (*4)

$textHandler = new TextHandler();, (*5)

$occurrences = $textHandler->searchOccurrences($text, $keyword);, (*6)

// return array of Occurrence objects, (*7)

The Versions

16/08 2016

dev-master

9999999-dev

This bundle is for searching word by char

  Sources   Download

MIT

The Requires

 

by Stas Pivovartsev