ProtectedDirectory
class ProtectedDirectory (View source)
A value object representing a protected directory.
Properties
| protected string | $title | The directory title. |
|
| protected string | $path | The directory path. |
|
| protected bool | $private | If the directory is private (or public). |
Methods
__construct(string $title, string $path, bool $private = FALSE)
ProtectedDirectory constructor.
string
getTitle()
Gets the title.
string
getPath()
Gets the directory path.
bool
isPrivate()
Is the directory private (or public).
Details
__construct(string $title, string $path, bool $private = FALSE)
ProtectedDirectory constructor.
string
getTitle()
Gets the title.
string
getPath()
Gets the directory path.
bool
isPrivate()
Is the directory private (or public).