Load does not work for dynamical relationships?

Imagine you have the following two relations: /** * Relation working/holiday/.. hours * @return [type] [description] */ public function relatedHours($type = null) { $type = $type ?? $this->type; return $this->hours()->where(‘type’, ‘=’, $type); } public function workingHours() { return $this->relatedHours(Type::WORK); }

Imap Basics

I explain how to delete or move mails from a mail account through a script. First you should setup a connection. This should look like this: /* connect to server */ $hostname = ‘{123.mailserver.com:143}’; $username = ‘your@login.com’; $password = ‘top_secreted_69’; /* try to connect */ $inbox = imap_open($hostname,$username,$password) or die(‘Cannot connect to mailbox: ‘ . […]