/** * Same as find() but returns a BeanCollection. * * @param string $type type of beans you are looking for * @param string $addSQL SQL to be used in query * @param array $bindings a list of values to bind to query parameters * * @return array */ public function findCollection($type, $sql = NULL, $bindings = array()) { return $this->repository->findCollection($type, $sql, $bindings); }