Page not found
<?php
$pageRepository = EntityManager::getRepository(
Page::class
);
$page = $pageRepository->find('docs/1.1/scout/introduction');
if(!$page) {
throw new PageWasNotFound(
'Page not found'
);
}
<?php
$pageRepository = EntityManager::getRepository(
Page::class
);
$page = $pageRepository->find('docs/1.1/scout/introduction');
if(!$page) {
throw new PageWasNotFound(
'Page not found'
);
}