<?php stream_get_meta_data(resource $stream): array
<?php protected function tempFilePath() { return stream_get_meta_data($this->tempFile)['uri']; } }
<?php protected function dump($value) { $outputFile = stream_get_meta_data(tmpfile())['uri']; $dumper = new HtmlDumper( '/my-work-directory',
<?php { $this->fails( File::image()->dimensions(Rule::dimensions()->width(100)->height(100)), new UploadedFileWithCustomImageSizeMethod(stream_get_meta_data($tmpFile = tmpfile())['uri'], 'foo.png'), ['validation.dimensions'], );
<?php $this->passes( File::image()->dimensions(Rule::dimensions()->width(200)->height(200)), new UploadedFileWithCustomImageSizeMethod(stream_get_meta_data($tmpFile = tmpfile())['uri'], 'foo.png'), ); }