public static function get(Bookboon $bookboon, array $bookTypes = ['pdf']) : BookboonResponse
    {
        $bResponse = $bookboon->rawRequest("/frontpage", ['bookType' => join(',', $bookTypes)]);

        $bResponse->setEntityStore(
            new EntityStore(Frontpage::getEntitiesFromArray($bResponse->getReturnArray()))
        );

        return $bResponse;
    }
public static function get(Bookboon $bookboon, array $bookTypes = ['pdf']) : BookboonResponse
    {
        $bResponse = $bookboon->rawRequest("/frontpage", ['bookType' => join(',', $bookTypes)]);

        $bResponse->setEntityStore(
            new EntityStore(Frontpage::getEntitiesFromArray($bResponse->getReturnArray()))
        );

        return $bResponse;
    }
public static function get ( Bookboon $ bookboon , array $ bookTypes = [ 'pdf' ] ) : BookboonResponse { $ bResponse = $ bookboon -> rawRequest ( "/frontpage" , [ 'bookType' => join ( ',' , $ bookTypes ) ] ) ; $ bResponse -> setEntityStore ( new EntityStore ( Frontpage :: getEntitiesFromArray ( $ bResponse -> getReturnArray ( ) ) ) ) ; return $ bResponse ; }
Get all front page books

@param Bookboon $bookboon
@param array $bookTypes
@return BookboonResponse
@throws UsageException
@throws \Bookboon\Api\Exception\ApiDecodeException
Get all front page books