Awesome_Support::__clone PHP 메소드

__clone() 공개 메소드

The whole idea of the singleton design pattern is that there is a single object therefore, we don't want the object to be cloned.
부터: 3.2.5
public __clone ( ) : void
리턴 void
        public function __clone()
        {
            // Cloning instances of the class is forbidden
            _doing_it_wrong(__FUNCTION__, __('Cheatin’ huh?', 'awesome-support'), '3.2.5');
        }