src/Valkyrja/ORM/Repositories/PDORepository.php
public function findAll(array $orderBy = null, array $columns = null, bool $getRelations = null): array
    {
        return $this->findBy([], $orderBy, null, null, $columns, $getRelations);
    }
public function findAll(array $orderBy = null, array $columns = null, bool $getRelations = null): array
    {
        return $this->findBy([], $orderBy, null, null, $columns, $getRelations);
    }
Find entities by given criteria.

<code>
$repository
->findBy(
[
'column'
'column2' => OrderBy::ASC,
'column3' => OrderBy::DESC,
]
)
</code>

@param array      $orderBy
@param array|null $columns
@param bool|null  $getRelations

@throws InvalidArgumentException

@return \Valkyrja\ORM\Entity[]