/** * Finds a bean by its URI. * Returns the bean identified by the specified URI. * * For more details * @see RedBean_Finder::findByPath * * @return void */ private function findBeanByURI() { $finder = new RedBean_Finder($this->toolbox); $this->bean = $finder->findByPath($this->root, $this->uri); $this->beanType = $this->bean->getMeta('type'); }