src/Annotation/Locale.php 1 location
|
@@ 11-19 (lines=9) @@
|
8 |
|
* @Annotation |
9 |
|
* @Target({"CLASS", "PROPERTY", "METHOD"}) |
10 |
|
*/ |
11 |
|
class Locale extends GraphNode |
12 |
|
{ |
13 |
|
public function __construct(array $values) |
14 |
|
{ |
15 |
|
$values = array_merge(['namespaceUri' => OpenGraphMetadata::NAMESPACE_URL], $values); |
16 |
|
|
17 |
|
parent::__construct(OpenGraphMetadata::NAMESPACE_TAG, OpenGraphMetadata::LOCALE, $values); |
18 |
|
} |
19 |
|
} |
20 |
|
|
src/Annotation/LocaleAlternate.php 1 location
|
@@ 11-19 (lines=9) @@
|
8 |
|
* @Annotation |
9 |
|
* @Target({"CLASS", "PROPERTY", "METHOD"}) |
10 |
|
*/ |
11 |
|
class LocaleAlternate extends GraphNode |
12 |
|
{ |
13 |
|
public function __construct(array $values) |
14 |
|
{ |
15 |
|
$values = array_merge(['namespaceUri' => OpenGraphMetadata::NAMESPACE_URL], $values); |
16 |
|
|
17 |
|
parent::__construct(OpenGraphMetadata::NAMESPACE_TAG, OpenGraphMetadata::LOCALE_ALTERNATE, $values); |
18 |
|
} |
19 |
|
} |
20 |
|
|
src/Annotation/SiteName.php 1 location
|
@@ 11-19 (lines=9) @@
|
8 |
|
* @Annotation |
9 |
|
* @Target({"CLASS", "PROPERTY", "METHOD"}) |
10 |
|
*/ |
11 |
|
class SiteName extends GraphNode |
12 |
|
{ |
13 |
|
public function __construct(array $values) |
14 |
|
{ |
15 |
|
$values = array_merge(['namespaceUri' => OpenGraphMetadata::NAMESPACE_URL], $values); |
16 |
|
|
17 |
|
parent::__construct(OpenGraphMetadata::NAMESPACE_TAG, OpenGraphMetadata::SITE_NAME, $values); |
18 |
|
} |
19 |
|
} |
20 |
|
|
src/Annotation/Type.php 1 location
|
@@ 11-19 (lines=9) @@
|
8 |
|
* @Annotation |
9 |
|
* @Target({"CLASS", "PROPERTY", "METHOD"}) |
10 |
|
*/ |
11 |
|
class Type extends GraphNode |
12 |
|
{ |
13 |
|
public function __construct(array $values) |
14 |
|
{ |
15 |
|
$values = array_merge(['namespaceUri' => OpenGraphMetadata::NAMESPACE_URL], $values); |
16 |
|
|
17 |
|
parent::__construct(OpenGraphMetadata::NAMESPACE_TAG, OpenGraphMetadata::TYPE, $values); |
18 |
|
} |
19 |
|
} |
20 |
|
|