Manager/AbstractManager.php
public function getAllNotDeleted(): array
    {
        if (!$this->entityImplements(SoftDeleteInterface::class)) {
            throw new \Exception(sprintf('Entities of class "%s" do not implement interface "%s"', $this->getEntityClassName(), SoftDeleteInterface::class));
        }

        return $this->getEntitiesBy(['deleted' => false]);
    }
public function getAllNotDeleted(): array
    {
        if (!$this->entityImplements(SoftDeleteInterface::class)) {
            throw new \Exception(sprintf('Entities of class "%s" do not implement interface "%s"', $this->getEntityClassName(), SoftDeleteInterface::class));
        }

        return $this->getEntitiesBy(['deleted' => false]);
    }
public function getAllNotDeleted ( ) : array { if ( ! $ this -> entityImplements ( SoftDeleteInterface :: class ) ) { throw new \ Exception ( sprintf ( 'Entities of class "%s" do not implement interface "%s"' , $ this -> getEntityClassName ( ) , SoftDeleteInterface :: class ) ) ; } return $ this -> getEntitiesBy ( [ 'deleted' => false ] ) ; }
Gets all entities not deleted

@return array

@throws \Exception
Gets all entities not deleted