original_string: public function related($entity = NULL, $enity = NULL)
      {
          $this->andWhere(['entity' => $entity, 'entity_id' => $this->entity_id]);
          return $this;
      }
code: public function related($entity = NULL, $enity = NULL)
      {
          $this->andWhere(['entity' => $entity, 'entity_id' => $this->entity_id]);
          return $this;
      }
code_tokens: public function related ( $ entity = NULL , $ enity = NULL ) { $ this -> andWhere ( [ 'entity' => $ entity , 'entity_id' => $ this -> entity_id ] ) ; return $ this ; }
docstring: find all records which are related to the same entity
  @param  [type] $entity [description]
  @param  [type] $enity  [description]
  @return [type]         [description]
docstring_tokens: find all records which are related to the same entity