original_string: private function notSuitableFactoryFor($object)
      {
          switch ($this->notFoundBehaviour) {
              case self::NOT_FOUND_RETURNS_NULL:
                  return null;
  
              case self::NOT_FOUND_RETURN_SOURCE:
                  return $object;
  
              case self::NOT_FOUND_THROWS_EXCEPTION:
              default:
                  throw new Exception\UnsupportedObjectException(sprintf(
                      'Can\'t create a View from object of type "%s"',
                      is_object($object) ? get_class($object) : gettype($object)
                  ));
          }
      }
code: private function notSuitableFactoryFor($object)
      {
          switch ($this->notFoundBehaviour) {
              case self::NOT_FOUND_RETURNS_NULL:
                  return null;
  
              case self::NOT_FOUND_RETURN_SOURCE:
                  return $object;
  
              case self::NOT_FOUND_THROWS_EXCEPTION:
              default:
                  throw new Exception\UnsupportedObjectException(sprintf(
                      'Can\'t create a View from object of type "%s"',
                      is_object($object) ? get_class($object) : gettype($object)
                  ));
          }
      }
code_tokens: private function notSuitableFactoryFor ( $ object ) { switch ( $ this -> notFoundBehaviour ) { case self :: NOT_FOUND_RETURNS_NULL : return null ; case self :: NOT_FOUND_RETURN_SOURCE : return $ object ; case self :: NOT_FOUND_THROWS_EXCEPTION : default : throw new Exception \ UnsupportedObjectException ( sprintf ( 'Can\'t create a View from object of type "%s"' , is_object ( $ object ) ? get_class ( $ object ) : gettype ( $ object ) ) ) ; } }
docstring: Behaviour when a suitable view factory can't be found
  
  @param mixed $object
  
  @return null
docstring_tokens: Behaviour when a suitable view factory can t be found