public function set_source(string $src){
    $this->source = is_file($src) ? file_get_contents($src) : $src;
    $this->parsed = [];
    return $this;
  }
public function set_source(string $src){
    $this->source = is_file($src) ? file_get_contents($src) : $src;
    $this->parsed = [];
    return $this;
  }
public function set_source ( string $ src ) { $ this -> source = is_file ( $ src ) ? file_get_contents ( $ src ) : $ src ; $ this -> parsed = [ ] ; return $ this ; }
Sets the source to parse

@param string $src The source code or an absolute file path
@return \bbn\parsers\doc
Sets the source to parse