original_string: public function getImageSrc($type, $size)
  	{
  		if (empty($this->$type))
  		{
  			return null;
  		}
  		return $this->getImageConfig($type, $size, 'dir') . $this->$type;
  	}
code: public function getImageSrc($type, $size)
  	{
  		if (empty($this->$type))
  		{
  			return null;
  		}
  		return $this->getImageConfig($type, $size, 'dir') . $this->$type;
  	}
code_tokens: public function getImageSrc ( $ type , $ size ) { if ( empty ( $ this -> $ type ) ) { return null ; } return $ this -> getImageConfig ( $ type , $ size , 'dir' ) . $ this -> $ type ; }
docstring: Returns the value for use in the src attribute of an img tag for the given image type and size
  
  @param $type
  @param $size
  @return null|string
docstring_tokens: Returns the value for use in the src attribute of an img tag for the given image type and size