original_string: public function source($src)
      {
          $this->source = $this->getImageInfo($src);
  
          $type              = $this->source['type'];
          $createFrom        = 'ImageCreateFrom' . $type;
          $this->sourceImage = $createFrom($src);
  
          return $this;
      }
code: public function source($src)
      {
          $this->source = $this->getImageInfo($src);
  
          $type              = $this->source['type'];
          $createFrom        = 'ImageCreateFrom' . $type;
          $this->sourceImage = $createFrom($src);
  
          return $this;
      }
code_tokens: public function source ( $ src ) { $ this -> source = $ this -> getImageInfo ( $ src ) ; $ type = $ this -> source [ 'type' ] ; $ createFrom = 'ImageCreateFrom' . $ type ; $ this -> sourceImage = $ createFrom ( $ src ) ; return $ this ; }
docstring: Set local image source
  
  @param string $src
  @return $this
docstring_tokens: Set local image source