VerifyUnionTrait
Table of Contents
Methods
- hasAttribute() : mixed
- Verifies that a class has a specified attribute.
- isNotReadable() : mixed
- Verifies that a file/dir exists and is not readable.
- isNotWritable() : mixed
- Verifies that a file/dir exists and is not writable.
- isReadable() : mixed
- Verifies that a file/dir is readable.
- isWritable() : mixed
- Asserts that a file/dir exists and is writable.
- notHasAttribute() : mixed
- Verifies that a class does not have a specified attribute.
Methods
hasAttribute()
Verifies that a class has a specified attribute.
public
hasAttribute(string $attributeName) : mixed
Parameters
- $attributeName : string
isNotReadable()
Verifies that a file/dir exists and is not readable.
public
isNotReadable() : mixed
isNotWritable()
Verifies that a file/dir exists and is not writable.
public
isNotWritable() : mixed
isReadable()
Verifies that a file/dir is readable.
public
isReadable() : mixed
isWritable()
Asserts that a file/dir exists and is writable.
public
isWritable() : mixed
notHasAttribute()
Verifies that a class does not have a specified attribute.
public
notHasAttribute(string $attributeName) : mixed
Parameters
- $attributeName : string