getInstantiatedTagObjects() публичный статический Метод

The main purpose of this method is to return all tag objects in admin context to provide help informations from the tags.
public static getInstantiatedTagObjects ( ) : array
Результат array An array with all tag object available.
Пример #1
0
 public function testInjectTag()
 {
     TagParser::inject('foo', ['class' => LinkTag::class]);
     $tags = TagParser::getInstantiatedTagObjects();
     $this->arrayHasKey('foo', $tags);
     $this->assertInstanceOf('luya\\tag\\tags\\LinkTag', $tags['foo']);
 }
 public function getTags()
 {
     return TagParser::getInstantiatedTagObjects();
 }