-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMeta.php
More file actions
45 lines (32 loc) · 1.05 KB
/
Meta.php
File metadata and controls
45 lines (32 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<?php
declare(strict_types=1);
/*
* This file is part of the QuidPHP package <https://quidphp.com>
* Author: Pierre-Philippe Emond <emondpph@gmail.com>
* License: https://github.com/quidphp/main/blob/master/LICENSE
*/
namespace Quid\Main\Contract;
// meta
// interface to describe methods making an objet a source of meta-data
interface Meta
{
// metaTitle
// retourne les données pour le meta title
public function getMetaTitle($value=null);
// metaKeywords
// retourne les données pour le meta keywords
public function getMetaKeywords($value=null);
// metaDescription
// retourne les données pour le meta description
public function getMetaDescription($value=null);
// metaImage
// retourne les données pour le meta image
public function getMetaImage($value=null);
// getHtmlAttr
// retourne les données des attributs de html
public function getHtmlAttr($value=null);
// getBodyAttr
// retourne les données des attributs de body
public function getBodyAttr($value=null);
}
?>