src/LightSaml/Action/Profile/AbstractProfileAction.php
public function execute(ContextInterface $context)
    {
        if ($context instanceof ProfileContext) {
            $this->doExecute($context);
        } else {
            $message = sprintf('Expected ProfileContext but got %s', get_class($context));
            $this->logger->emergency($message, array('context' => $context));
            throw new LightSamlContextException($context, $message);
        }
    }
public function execute(ContextInterface $context)
    {
        if ($context instanceof ProfileContext) {
            $this->doExecute($context);
        } else {
            $message = sprintf('Expected ProfileContext but got %s', get_class($context));
            $this->logger->emergency($message, array('context' => $context));
            throw new LightSamlContextException($context, $message);
        }
    }
@param ContextInterface $context

@return void