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