public function apply(Builder $builder, Model $model)
    {
        $column = $model->getQualifiedPublishedAtColumn();

        $builder->where($column, '=', 1);

        $this->addWithDrafts($builder);
    }
public function apply(Builder $builder, Model $model)
    {
        $column = $model->getQualifiedPublishedAtColumn();

        $builder->where($column, '=', 1);

        $this->addWithDrafts($builder);
    }
public function apply ( Builder $ builder , Model $ model ) { $ column = $ model -> getQualifiedPublishedAtColumn ( ) ; $ builder -> where ( $ column , '=' , 1 ) ; $ this -> addWithDrafts ( $ builder ) ; }
This remains unchanged - it's the only method that needs to be implemented
This remains unchanged - it s the only method that needs to be implemented