original_string: public function getByClassname(string $classname)
      {
          foreach ($this->container as $value) {
              if (is_object($value) && $value instanceof $classname) {
                  return $value;
              }
          }
  
          return null;
      }
code: public function getByClassname(string $classname)
      {
          foreach ($this->container as $value) {
              if (is_object($value) && $value instanceof $classname) {
                  return $value;
              }
          }
  
          return null;
      }
code_tokens: public function getByClassname ( string $ classname ) { foreach ( $ this -> container as $ value ) { if ( is_object ( $ value ) && $ value instanceof $ classname ) { return $ value ; } } return null ; }
docstring: Get registered value by class name. If not found, will return null.
  
  @param string $classname
  
  @return mixed|null
docstring_tokens: Get registered value by class name . If not found will return null .