PayU integration by Krzysztof Gzocha
  • Namespace
  • Class

Namespaces

  • Team3
    • PayU
      • Annotation
      • Communication
        • CurlRequestBuilder
        • HttpStatusParser
        • Notification
        • Process
          • NotificationProcess
          • ResponseDeserializer
        • Request
          • Model
        • Response
          • Model
        • Sender
      • Configuration
        • Credentials
      • Order
        • Autocomplete
          • Strategy
        • Model
          • Buyer
          • Money
          • Products
          • ShippingMethods
          • Traits
        • Transformer
          • UserOrder
            • Strategy
              • Product
              • ShippingMethod
      • PropertyExtractor
        • Reader
      • Serializer
      • SignatureCalculator
        • Encoder
          • Algorithms
          • Strategy
        • ParametersSorter
        • Validator
      • ValidatorBuilder

Classes

  • Team3\PayU\ValidatorBuilder\ValidatorBuilder

Interfaces

  • Team3\PayU\ValidatorBuilder\ValidatorBuilderInterface
  1 <?php
  2 /**
  3  * @author Krzysztof Gzocha <krzysztof.gzocha@xsolve.pl>
  4  */
  5 namespace Team3\PayU;
  6 
  7 use Psr\Log\LoggerInterface;
  8 
  9 /**
 10  * This class should be used ONLY for basic examples!
 11  * In real case please use Psr\Log\LoggerInterface
 12  *
 13  * Class NullLogger
 14  * @package Team3\PayU
 15  * @SuppressWarnings(PHPMD.UnusedFormalParameter)
 16  */
 17 class NullLogger implements LoggerInterface
 18 {
 19     /**
 20      * System is unusable.
 21      *
 22      * @param string $message
 23      * @param array  $context
 24      *
 25      * @return null
 26      */
 27     public function emergency($message, array $context = [])
 28     {
 29     }
 30 
 31     /**
 32      * Action must be taken immediately.
 33      *
 34      * Example: Entire website down, database unavailable, etc. This should
 35      * trigger the SMS alerts and wake you up.
 36      *
 37      * @param string $message
 38      * @param array  $context
 39      *
 40      * @return null
 41      */
 42     public function alert($message, array $context = [])
 43     {
 44     }
 45 
 46     /**
 47      * Critical conditions.
 48      *
 49      * Example: Application component unavailable, unexpected exception.
 50      *
 51      * @param string $message
 52      * @param array  $context
 53      *
 54      * @return null
 55      */
 56     public function critical($message, array $context = [])
 57     {
 58     }
 59 
 60     /**
 61      * Runtime errors that do not require immediate action but should typically
 62      * be logged and monitored.
 63      *
 64      * @param string $message
 65      * @param array  $context
 66      *
 67      * @return null
 68      */
 69     public function error($message, array $context = [])
 70     {
 71     }
 72 
 73     /**
 74      * Exceptional occurrences that are not errors.
 75      *
 76      * Example: Use of deprecated APIs, poor use of an API, undesirable things
 77      * that are not necessarily wrong.
 78      *
 79      * @param string $message
 80      * @param array  $context
 81      *
 82      * @return null
 83      */
 84     public function warning($message, array $context = [])
 85     {
 86     }
 87 
 88     /**
 89      * Normal but significant events.
 90      *
 91      * @param string $message
 92      * @param array  $context
 93      *
 94      * @return null
 95      */
 96     public function notice($message, array $context = [])
 97     {
 98     }
 99 
100     /**
101      * Interesting events.
102      *
103      * Example: User logs in, SQL logs.
104      *
105      * @param string $message
106      * @param array  $context
107      *
108      * @return null
109      */
110     public function info($message, array $context = [])
111     {
112     }
113 
114     /**
115      * Detailed debug information.
116      *
117      * @param string $message
118      * @param array  $context
119      *
120      * @return null
121      */
122     public function debug($message, array $context = [])
123     {
124     }
125 
126     /**
127      * Logs with an arbitrary level.
128      *
129      * @param mixed  $level
130      * @param string $message
131      * @param array  $context
132      *
133      * @return null
134      */
135     public function log($level, $message, array $context = [])
136     {
137     }
138 }
139 
PayU integration by Krzysztof Gzocha API documentation generated by ApiGen