Overview

Namespaces

  • Jity
    • TagGeneratorBundle
      • DependencyInjection
      • Entity
      • Filter
      • Formater
      • Splitter
      • Tests
        • Filter
        • Fixture
        • Formater
        • Splitter

Classes

  • Configuration
  • JityTagGeneratorExtension
  • TagGenerator
  • Overview
  • Namespace
  • Class
  • Tree

Class TagGenerator

TagGenerator

Central controll unit of the text-to-tag processing. With the help of this generator you be able to transform any text to a usefull collection of tags.

Namespace: Jity\TagGeneratorBundle\DependencyInjection
Author: Hermann Mayer <hermann.mayer92@gmail.com>
Located at DependencyInjection/TagGenerator.php
Methods summary
public
# __construct( )

__construct

__construct

Initializes a new TagGenerator.

public
# setFormater( Jity\TagGeneratorBundle\Formater\FormaterInterface $formater )

setFormater

setFormater

Specify the Formater which will be used.

Parameters

$formater
Jity\TagGeneratorBundle\Formater\FormaterInterface
$formater Formater to use
public
# setSplitter( Jity\TagGeneratorBundle\Splitter\SplitterInterface $splitter )

setSplitter

setSplitter

Specify the Splitter which will be used.

Parameters

$splitter
Jity\TagGeneratorBundle\Splitter\SplitterInterface
$splitter Splitter to use
public
# addFilter( Jity\TagGeneratorBundle\Filter\FilterInterface $filter )

addFilter

addFilter

Put a new filter in the processing chain.

Parameters

$filter
Jity\TagGeneratorBundle\Filter\FilterInterface
$filter Filter to chain in
public Jity\TagGeneratorBundle\Entity\TagCollection
# getTags( string $text )

getTags

getTags

Process the specified text to tags.

Parameters

$text
string
$text Text to process

Returns

Jity\TagGeneratorBundle\Entity\TagCollection
public Jity\TagGeneratorBundle\Entity\TagCollection
# filter( Jity\TagGeneratorBundle\Entity\TagCollection $collection )

filter

filter

Run all configured filters of the generator over the specified TagCollection.

Parameters

$collection
Jity\TagGeneratorBundle\Entity\TagCollection
$collection TagCollection to process

Returns

Jity\TagGeneratorBundle\Entity\TagCollection
API documentation generated by ApiGen 2.8.0