unregisterPipe() public static method

public static unregisterPipe ( string $typeOrClassName )
$typeOrClassName string
Beispiel #1
0
 /**
  * @test
  */
 public function canAddAndRetrievePipes()
 {
     $fakeClass = 'MyFakeClass';
     Core::registerPipe($fakeClass);
     $this->assertContains($fakeClass, Core::getPipes());
     Core::unregisterPipe($fakeClass);
     $this->assertNotContains($fakeClass, Core::getPipes());
 }