private function setClass( $name, $args ) {

		// Build the class string dynamically.
		$class = __NAMESPACE__ . '\\Notice\\' . ucfirst( $name );

		// Create a new instance or add our filters.
		return $this->class = class_exists( $class ) ? new $class( $args ) : Filter::add( $this );
	}
private function setClass( $name, $args ) {

		// Build the class string dynamically.
		$class = __NAMESPACE__ . '\\Notice\\' . ucfirst( $name );

		// Create a new instance or add our filters.
		return $this->class = class_exists( $class ) ? new $class( $args ) : Filter::add( $this );
	}
private function setClass ( $ name , $ args ) { // Build the class string dynamically. $ class = __NAMESPACE__ . '\\Notice\\' . ucfirst ( $ name ) ; // Create a new instance or add our filters. return $ this -> class = class_exists ( $ class ) ? new $ class ( $ args ) : Filter :: add ( $ this ) ; }
Sets the class class property.

@since  1.0.0

@param  string $name Name of the notice class to initialize.
@param  array  $args Optional arguments to pass to the class initialization.

@return string $class The class class property.
Sets the class class property .