for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace GarethEllis\Tldr\Fetcher;
class AbstractFetcher
{
protected function findPageInList(String $page, array $list)
return array_filter($list, function ($foundPage) use ($page) {
return $foundPage["name"] === $page;
});
}