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

This method is called in response to closedir(). Any resources which were locked, or allocated, during opening and use of the directory stream should be released.
public dir_closedir ( ) : boolean
Результат boolean TRUE on success or FALSE on failure.
 /**
  * @test
  */
 public function dir_closedirTest()
 {
     $this->mockStreamWrapper->expects($this->once())->method('closeDirectory')->will($this->returnValue(true));
     $this->assertTrue($this->streamWrapperAdapter->dir_closedir());
 }