public function initializeContext(Context $context)
    {
        if (! $context instanceof WordpressAwareInterface) {
            return;
        }

        $context->setWordpress($this->wordpress);
        $context->setWordpressParameters($this->parameters);
    }
public function initializeContext(Context $context)
    {
        if (! $context instanceof WordpressAwareInterface) {
            return;
        }

        $context->setWordpress($this->wordpress);
        $context->setWordpressParameters($this->parameters);
    }
public function initializeContext ( Context $ context ) { if ( ! $ context instanceof WordpressAwareInterface ) { return ; } $ context -> setWordpress ( $ this -> wordpress ) ; $ context -> setWordpressParameters ( $ this -> parameters ) ; }
Prepare everything that the Context needs.

@param Context $context
Prepare everything that the Context needs .