setDescription() public method

Setup description for all seo providers.
public setDescription ( $description ) : Artesaos\SEOTools\Contracts\SEOTools
$description
return Artesaos\SEOTools\Contracts\SEOTools
Example #1
0
 public function test_set_description()
 {
     $this->seoTools->setDescription('Kamehamehaaaaaaa');
     $expected = "<title>It's Over 9000!</title>";
     $expected .= '<meta name="description" content="Kamehamehaaaaaaa">';
     $expected .= '<meta property="og:description" content="Kamehamehaaaaaaa" />';
     $expected .= '<meta property="og:title" content="Over 9000 Thousand!" />';
     $expected .= '<meta name="twitter:description" content="Kamehamehaaaaaaa" />';
     $this->setRightAssertion($expected);
 }