Hi there!
Could we add some standard for isser / hasser for boolean values or include it to already proposed one? I mean name of class method's like `isPublished()`, `isWritable()`, `hasHeader()` etc. Seems it's a generally accepted terminology, but I don't find any mention of it. However, accepted PSR-7 already use them.
Cheers!
$file = new File('/some/path/to/a/file');
if ($file->exists() === false) {
throw new FileNotFoundException($file);
}
$stream = $file->toStream();
while ($stream->eof() === false) {
if ($stream->readLine()->matches('/php-fig/')) {
break;
}
}--
You received this message because you are subscribed to a topic in the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/php-fig/Srcx49GugaQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/1d2e71d5-34bc-4c68-b92c-9c6732a85ff4%40googlegroups.com.
$stream->ended();
$stream->finished();
$stream->depleted(); // I love this word, lol.
$stream->concluded();
$stream->hasMoreData();
$stream->isComplete();
$stream->completed();Hi there!
Could we add some standard for isser / hasser for boolean values or include it to already proposed one? I mean name of class method's like `isPublished()`, `isWritable()`, `hasHeader()` etc. Seems it's a generally accepted terminology, but I don't find any mention of it. However, accepted PSR-7 already use them.
--
You received this message because you are subscribed to a topic in the Google Groups "PHP Framework Interoperability Group" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/php-fig/Srcx49GugaQ/unsubscribe.
To unsubscribe from this group and all its topics, send an email to php-fig+u...@googlegroups.com.
To post to this group, send email to php...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/php-fig/3edbabe6-c16c-474c-ab74-065e4b7e2e64%40googlegroups.com.