/** * Find a page by it's path. * * @param $path * @return PageInterface|null */ public function findByPath($path) { return $this->model->where('path', $path)->first(); }