PHP Flarum\Core\Repository PostRepository::getIndexForNumber - 3 examples found. These are the top rated real world PHP examples of Flarum\Core\Repository\PostRepository::getIndexForNumber extracted from open source projects. You can rate examples to help us improve the quality of examples.
Get the position within a discussion where a post with a certain number
is. If the post with that number does not exist, the index of the
closest post to it will be returned.