src/DocblockParser.php
public function getTag(string $name, $default = null)
    {
        return isset($this->tags[$name]) ? $this->tags[$name] : $default;
    }
public function getTag(string $name, $default = null)
    {
        return isset($this->tags[$name]) ? $this->tags[$name] : $default;
    }
public function getTag ( string $ name , $ default = null ) { return isset ( $ this -> tags [ $ name ] ) ? $ this -> tags [ $ name ] : $ default ; }
Get a tag by name.

@param string $name    - name of the tag to get
@param null   $default - default value if the tag does not exist

@return mixed|null
Get a tag by name .