Writer
link | |
---|---|
link | |
link |
https://austinheap.github.io/php-security-txt/classes/AustinHeap.Security.Txt.Writer.html |
link | |
package |
php-security-txt |
__construct(\AustinHeap\Security\Txt\Writer|\AustinHeap\Security\Txt\Reader &$parent = null) : \AustinHeap\Security\Txt\SecurityTxt|\AustinHeap\Security\Txt\Writer|\AustinHeap\Security\Txt\Reader
addContact(string $contact) : \AustinHeap\Security\Txt\SecurityTxt
addContacts(array $contacts) : \AustinHeap\Security\Txt\SecurityTxt
disableComments() : \AustinHeap\Security\Txt\SecurityTxt
disableDebug() : \AustinHeap\Security\Txt\SecurityTxt
enableComments() : \AustinHeap\Security\Txt\SecurityTxt
enableDebug() : \AustinHeap\Security\Txt\SecurityTxt
execute(boolean $test_case = false) : \AustinHeap\Security\Txt\Reader|\AustinHeap\Security\Txt\Writer|null
Throws |
|
---|
boolean
\AustinHeap\Security\Txt\Reader|\AustinHeap\Security\Txt\Writer|null
getAcknowledgement() : string
string
getComments() : boolean
boolean
getContacts() : array
array
getDebug() : boolean
boolean
getDisclosure() : string
string
getEncryption() : string
string
getParent() : \AustinHeap\Security\Txt\Reader|\AustinHeap\Security\Txt\Writer
getParentClass() : string
string
getText() : string
string
hasContact(string $contact) : boolean
string
boolean
hasContacts(array $contacts) : boolean
array
boolean
hasParent() : boolean
boolean
line(string $line) : \AustinHeap\Security\Txt\Writer
lines(array $lines) : \AustinHeap\Security\Txt\Writer
overrideMissing(string $function, boolean $test_case = false) : null
Throws |
|
---|
string
boolean
null
removeContact(string $contact) : \AustinHeap\Security\Txt\SecurityTxt
removeContacts(array $contacts) : \AustinHeap\Security\Txt\SecurityTxt
reset(boolean $test_case = false) : \AustinHeap\Security\Txt\Reader|\AustinHeap\Security\Txt\Writer|null
Throws |
|
---|
boolean
\AustinHeap\Security\Txt\Reader|\AustinHeap\Security\Txt\Writer|null
setAcknowledgement(string $acknowledgement) : \AustinHeap\Security\Txt\SecurityTxt
setComments(string $comments) : \AustinHeap\Security\Txt\SecurityTxt
setContacts(array $contacts) : \AustinHeap\Security\Txt\SecurityTxt
setDebug(boolean $debug) : \AustinHeap\Security\Txt\SecurityTxt
setDisclosure(string $disclosure) : \AustinHeap\Security\Txt\SecurityTxt
setEncryption(string $encryption) : \AustinHeap\Security\Txt\SecurityTxt
setText(string $text) : \AustinHeap\Security\Txt\SecurityTxt
spacer() : \AustinHeap\Security\Txt\Writer
spacers(integer $count = 1) : \AustinHeap\Security\Txt\Writer
validContact(string $contact) : boolean
string |
string $contact |
---|
string
boolean
validContacts(array $contacts, boolean $use_keys = false) : boolean
array
boolean
boolean
validDisclosure(string $disclosure) : boolean
string
boolean
validEncryption(string $encryption) : boolean
string
boolean
VERSION
var |
---|
lines : array
var |
---|
array
parent : \AustinHeap\Security\Txt\Writer|\AustinHeap\Security\Txt\Reader
writer : \AustinHeap\Security\Txt\Writer
reader : \AustinHeap\Security\Txt\Reader
text : string
var |
---|
string
debug : boolean
var |
---|
boolean
comments : boolean
var |
---|
boolean
contacts : array
var |
---|
array
encryption : string
var |
---|
string
disclosure : string
var |
---|
string
acknowledgement : string
var |
---|
string
Add a comment to the output buffer.
Arguments
$comment
string
Response
\AustinHeap\Security\Txt\Writer