PHP » GoLang | 
        
            
            login |
            register |
            
            about
            
             | 
    
                GoLang ReflectionClass::getConstructor
                                request it (647)
                             
                            
                            GoLang replacement for PHP's ReflectionClass::getConstructor
                            [edit | history]
                        
                    
                             PHP ReflectionClass::getConstructorPHP original manual for ReflectionClass::getConstructor [ show | php.net ]ReflectionClass::getConstructor(PHP 5, PHP 7) ReflectionClass::getConstructor — Gets the constructor of the class DescriptionGets the constructor of the reflected class. ParametersThis function has no parameters. Return Values
   A ReflectionMethod object reflecting the class' constructor, or  Examples
 Example #1 Basic usage of ReflectionClass::getConstructor() 
<?phpThe above example will output: 
object(ReflectionMethod)#2 (2) {
  ["name"]=>
  string(11) "__construct"
  ["class"]=>
  string(15) "ReflectionClass"
}
 | 
            
            
                
                 
                    more
                     
                
            Most requested
  |