ЄxЄ@8Є@τ Xτ Є0τ@τP Є.`[τ0ЄxЄ`9Є@x Є @5τ ЄPτ`τP Є7@ `8τ$ЄxЄ ЄЄ8 hττpτP ЄOQiτP@ЄxЄ Є@τ8 τττP Є]_@τ@QЄxЄmOЄ τ ЄττP Єakτ Є Є Є ЄЄЄЄ0ЄxЄЄЄPЄЄЄ(ЄpЄЄЄHЄ 4N@@τΦVUVUτVUJЄτЄJЄs ЄЄQЄЄ Єjτ 0:ττжττЄ->@=τ@ЄЄqЄlττ ττЄO\ τЄЄ@ Єτ&ЄP Є0τЄmЄ_OЄЄ Є2τ τ@+Є@τPτЄτWPЄЄ Єτ 0#?τJЄ`τpτЄ `CτЄЄ Є4τnτyՄττЄoτ8:N@nPЄ@τΦVUτVUττVUJЄ Є0 ЄS) { 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"; } }