Documentation

Factory

Table of Contents

create()  : Tag
Factory method responsible for instantiating the correct sub type.

Methods

create()

Factory method responsible for instantiating the correct sub type.

public create(string $tagLine[, Context|null $context = null ]) : Tag
Parameters
$tagLine : string

The text for this tag, including description.

$context : Context|null = null
Tags
throws
InvalidArgumentException

If an invalid tag line was presented.

Return values
Tag

A new tag object.

Search results