Artesaos\SEOTools\SEOMeta::getNext PHP Method

getNext() public method

Get the next URL.
public getNext ( ) : string
return string
    public function getNext()
    {
        return $this->next;
    }

Usage Example

Example #1
0
 public function test_set_next()
 {
     $fullHeader = "<title>It's Over 9000!</title>";
     $fullHeader .= "<meta name=\"description\" content=\"For those who helped create the Genki Dama\">";
     $fullHeader .= "<link rel=\"next\" href=\"http://domain.com\"/>";
     $next = 'http://domain.com';
     $this->seoMeta->setNext($next);
     $this->setRightAssertion($fullHeader);
     $this->assertEquals($next, $this->seoMeta->getNext());
 }