public function setAboutLink($link)
    {
        if (false === filter_var($link, FILTER_VALIDATE_URL)) {
            throw new \InvalidArgumentException(sprintf('Provided link %s is not a valid resource', $link));
        }

        $this->links['about']['href'] = (string) $link;
    }
public function setAboutLink($link)
    {
        if (false === filter_var($link, FILTER_VALIDATE_URL)) {
            throw new \InvalidArgumentException(sprintf('Provided link %s is not a valid resource', $link));
        }

        $this->links['about']['href'] = (string) $link;
    }
public function setAboutLink ( $ link ) { if ( false === filter_var ( $ link , FILTER_VALIDATE_URL ) ) { throw new \ InvalidArgumentException ( sprintf ( 'Provided link %s is not a valid resource' , $ link ) ) ; } $ this -> links [ 'about' ] [ 'href' ] = ( string ) $ link ; }
A link that leads to further details about this particular occurrence of the problem.

@param string $link

@throws \InvalidArgumentException
A link that leads to further details about this particular occurrence of the problem .