scratch – Blame information for rev 87

Subversion Repositories:
Rev:
Rev Author Line No. Line
87 office 1 <?php
2  
3 namespace Fusonic\OpenGraph\Test\TestData;
4  
5 use Fusonic\OpenGraph\Objects\ObjectBase;
6 use Fusonic\OpenGraph\Property;
7  
8 class TestPublishObject extends ObjectBase
9 {
10 const KEY = "og:title";
11  
12 private $value;
13  
14 public function __construct($value)
15 {
16 parent::__construct();
17  
18 $this->value = $value;
19 }
20  
21 public function getProperties()
22 {
23 return [
24 new Property(self::KEY, $this->value),
25 ];
26 }
27 }