`jU0PtjU@<jU@HjUoPR(jUP0p`jUPtjU`<jU`HjUHp@R(jUppXp`jUpPtjU<jUH@jU|HjU>jU`*0\jUPikjUpR(jUpjUPpjU<`jUP2@jUPpGIjU`tjU<;jU >jU|;jU>@'t@'t@X?@@'t@'t@8@@@'t@'t@A@@'t@'t@A@@'t@'t@B@@'t@'t@C@@'t@'t@D@@'t@'t@pE@@'t@'t@0G@@}@E@|@u@u@u@ȯu@u@ jUO@9O@9O&Op&O&O('O@-O@q|@'O'O&O%O0%O@&O`$O$O$O@X7O'O@q|@0jUP5?0jU`5?0jUp5?0jU@5@jU0;EjU@ ;E;jU;IjUP=t`jUp`;BPjU;`jUP;2PjU;sjU;jUp(>D ojUp 0>IjU P>t`jU`>BjU><sjU>jU@P?D ojU`H?IjU`P?tjU`X?pjUp?<jUp?GP{jU?HIjU`?tjU?<sjUP?jUo0h@R(jU @p`jUP@BjU@<jUBR(jUBp`jUPPBB`jU`BB`jUpBBjUB<sjUBmjUC+jUPDp`jUPDBjUD<jUGR(jUGp`jUPPGBjU`GpjU G<`jU `G2`jUpGBjUG<jU` IpjU@I<@jU@I+jUPJpjU` JpjUPJ<`jUPPJ2jUJ<jU`0LpjUpL<@jUpL+jUP@@Mp) { return $this->container->get( $this->get_helper_class( $helper ) ); } /** * Magic isset for ensuring helper exists. * * @param string $helper The helper to get. * * @return bool Whether the helper exists. */ public function __isset( $helper ) { return $this->container->has( $this->get_helper_class( $helper ) ); } /** * Prevents setting dynamic properties and unsetting declared properties * from an inaccessible context. * * @param string $name The property name. * @param mixed $value The property value. * * @return void * * @throws Forbidden_Property_Mutation_Exception Set is never meant to be called. */ public function __set( $name, $value ) { // @phpcs:ignore Generic.CodeAnalysis.UnusedFunctionParameter.FoundAfterLastUsed -- __set must have a name and value. throw Forbidden_Property_Mutation_Exception::cannot_set_because_property_is_immutable( $name ); } /** * Prevents unsetting dynamic properties and unsetting declared properties * from an inaccessible context. * * @param string $name The property name. * * @return void * * @throws Forbidden_Property_Mutation_Exception Unset is never meant to be called. */ public function __unset( $name ) { throw Forbidden_Property_Mutation_Exception::cannot_unset_because_property_is_immutable( $name ); } /** * Get the class name from a helper slug * * @param string $helper The name of the helper. * * @return string */ protected function get_helper_class( $helper ) { $helper = \implode( '_', \array_map( 'ucfirst', \explode( '_', $helper ) ) ); return "Yoast\WP\SEO\Helpers\\{$helper}_Helper"; } }