Page not found


<?php

$pageRepository = EntityManager::getRepository(
    Page::class
);

$page = $pageRepository->find('docs/1.0/fluent/laravel-installation');

if(!$page) {
    throw new PageWasNotFound(
        'Page not found'
    );
}