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 | ||
Résultat | 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()); }