code: public function serialize(EntityContract $entity, Collection $select = null)
      {
          $bag = parent::serialize($entity, $select);
  
          // ...
  
          return $bag;
      }
docs: Serialize entity.
  
  @param \Railken\Lem\Contracts\EntityContract $entity
  @param \Illuminate\Support\Collection        $select
  
  @return \Railken\Bag