2018-01-08 Core
This commit is contained in:
parent
3e041a6bdb
commit
039b8df08b
4 changed files with 16 additions and 2 deletions
|
@ -206,4 +206,14 @@ class Container
|
|||
}
|
||||
return $value;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
*
|
||||
* @return bool
|
||||
*/
|
||||
public function isInit($name)
|
||||
{
|
||||
return array_key_exists($name, $this->instances);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
namespace ForkBB\Core\Exceptions;
|
||||
|
||||
use ForkBB\Core\Exceptions\ForkException;
|
||||
|
||||
class MailException extends ForkException
|
||||
{
|
||||
}
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
|
||||
namespace ForkBB\Core\Exceptions;
|
||||
|
||||
class StmpException extends MailException
|
||||
use ForkBB\Core\Exceptions\MailException;
|
||||
|
||||
class SmtpException extends MailException
|
||||
{
|
||||
}
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
namespace ForkBB\Core;
|
||||
|
||||
use ForkBB\Core\Exceptions\MailException;
|
||||
use ForkBB\Core\Exceptions\StmpException;
|
||||
use ForkBB\Core\Exceptions\SmtpException;
|
||||
|
||||
class Mail
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue