original_string: protected function targetConditions()
      {
          if ($this->_targetConditions !== null) {
              return $this->_targetConditions;
          }
          $conditions = $this->getConditions();
          if (!is_array($conditions)) {
              return $conditions;
          }
          $matching = [];
          $alias = $this->getAlias() . '.';
          foreach ($conditions as $field => $value) {
              if (is_string($field) && strpos($field, $alias) === 0) {
                  $matching[$field] = $value;
              } elseif (is_int($field) || $value instanceof ExpressionInterface) {
                  $matching[$field] = $value;
              }
          }
  
          return $this->_targetConditions = $matching;
      }
code: protected function targetConditions()
      {
          if ($this->_targetConditions !== null) {
              return $this->_targetConditions;
          }
          $conditions = $this->getConditions();
          if (!is_array($conditions)) {
              return $conditions;
          }
          $matching = [];
          $alias = $this->getAlias() . '.';
          foreach ($conditions as $field => $value) {
              if (is_string($field) && strpos($field, $alias) === 0) {
                  $matching[$field] = $value;
              } elseif (is_int($field) || $value instanceof ExpressionInterface) {
                  $matching[$field] = $value;
              }
          }
  
          return $this->_targetConditions = $matching;
      }
code_tokens: protected function targetConditions ( ) { if ( $ this -> _targetConditions !== null ) { return $ this -> _targetConditions ; } $ conditions = $ this -> getConditions ( ) ; if ( ! is_array ( $ conditions ) ) { return $ conditions ; } $ matching = [ ] ; $ alias = $ this -> getAlias ( ) . '.' ; foreach ( $ conditions as $ field => $ value ) { if ( is_string ( $ field ) && strpos ( $ field , $ alias ) === 0 ) { $ matching [ $ field ] = $ value ; } elseif ( is_int ( $ field ) || $ value instanceof ExpressionInterface ) { $ matching [ $ field ] = $ value ; } } return $ this -> _targetConditions = $ matching ; }
docstring: Returns filtered conditions that reference the target table.
  
  Any string expressions, or expression objects will
  also be returned in this list.
  
  @return mixed Generally an array. If the conditions
  are not an array, the association conditions will be
  returned unmodified.
docstring_tokens: Returns filtered conditions that reference the target table .