프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$properties | array | The properties that we are going to generate. | |
$required | array | The properties that are required. |
메소드 | 설명 | |
---|---|---|
fromObject ( Calotype\SEO\Contracts\OpenGraphAware $object ) | Use the open graph data of a open graph aware object. | |
fromRaw ( array $properties ) | Set the open graph properties from a raw array. | |
generate ( ) : string | Render the open graph tags. | |
reset ( ) : void | Reset all the properties. |
메소드 | 설명 | |
---|---|---|
validateProperties ( array $properties ) | Validate to make sure the properties contain all required ones. |
public fromObject ( Calotype\SEO\Contracts\OpenGraphAware $object ) | ||
$object | Calotype\SEO\Contracts\OpenGraphAware |
protected validateProperties ( array $properties ) | ||
$properties | array |
protected array $properties | ||
리턴 | array |