FolderRepository
class FolderRepository implements FolderRepositoryInterface (View source)
Methods
FolderInterface|null
find(string $path)
Find a folder.
findOrFail(string $path)
Find a folder or throw an exception.
create(string $path)
Create a new folder.
firstOrCreate(string $path)
Find or create a folder.
get(string|null $match = '*', string|null $reference = '')
Get the mailboxes folders.
Details
__construct(Mailbox $mailbox)
Constructor.
FolderInterface|null
find(string $path)
Find a folder.
FolderInterface
findOrFail(string $path)
Find a folder or throw an exception.
FolderInterface
create(string $path)
Create a new folder.
FolderInterface
firstOrCreate(string $path)
Find or create a folder.
FolderCollection
get(string|null $match = '*', string|null $reference = '')
Get the mailboxes folders.