stripTags() публичный Метод

Example:: String.stripTags('Some link') == 'Some link' This is a wrapper for the strip_tags() PHP function.
public stripTags ( string $string, string $allowableTags = null ) : string
$string string The string to strip
$allowableTags string Specify tags which should not be stripped
Результат string The string with tags stripped
 /**
  * @test
  * @dataProvider stripTagsExamples
  */
 public function stripTagsWorks($string, $allowedTags, $expected)
 {
     $helper = new StringHelper();
     $result = $helper->stripTags($string, $allowedTags);
     $this->assertSame($expected, $result);
 }