li3_docs\doc\Docblock::tags()

public method

Retrieve a multiple tag items. Good for i.e. see tags, that can by definition appear multiple times.

Parameters

  • string $name

    The tag name to retrieve.

Returns

array

An array of tag informations or an empty array if no tags for given name exist.

Source

	public function tags($name) {
		if (!isset($this->_tags[$name])) {
			return [];
		}
		return $this->_tags[$name];
	}