Overview
  • Namespace
  • Class

Namespaces

  • CupOfTea
    • Chain
      • Contracts
      • Exceptions

Classes

  • CupOfTea\Chain\Chain
  • CupOfTea\Chain\Results

Interfaces

  • CupOfTea\Chain\Contracts\ResultAccess

Exceptions

  • CupOfTea\Chain\Exceptions\InvalidContainerException
  • CupOfTea\Chain\Exceptions\InvalidMethodException
  • CupOfTea\Chain\Exceptions\WrongClassException
 1 <?php namespace CupOfTea\Chain\Exceptions;
 2 
 3 use Exception;
 4 
 5 class InvalidContainerException extends Exception
 6 {
 7     
 8     public function __construct($container, $code = 0, Exception $previous = null)
 9     {
10         $message = 'The provided Container <strong>' . get_class($container) . '</strong> does not have the method <strong>make</strong>';
11         
12         parent::__construct($message, $code, $previous);
13     }
14     
15 }
16 
API documentation generated by ApiGen