--TEST-- Directory class behaviour. --FILE-- --EXPECT-- Structure of Directory class: Class [ final class Directory ] { - Constants [0] { } - Static properties [0] { } - Static methods [0] { } - Properties [2] { Property [ public protected(set) readonly string $path ] Property [ public protected(set) readonly mixed $handle ] } - Methods [3] { Method [ public method close ] { - Parameters [0] { } - Return [ void ] } Method [ public method rewind ] { - Parameters [0] { } - Return [ void ] } Method [ public method read ] { - Parameters [0] { } - Return [ string|false ] } } }