Line 54 in /home/bradc/public_html/vendor/silverstripe/framework/src/Core/CustomMethods.php
45 * @throws BadMethodCallException 46 */ 47 public function __call($method, $arguments) 48 { 49 // If the method cache was cleared by an an Object::add_extension() / Object::remove_extension() 50 // call, then we should rebuild it. 51 $class = static::class; 52 $config = $this->getExtraMethodConfig($method); 53 if (empty($config)) { 54 throw new BadMethodCallException( 55 "Object->__call(): the method '$method' does not exist on '$class'" 56 ); 57 } 58 59 switch (true) { 60 case isset($config['callback']): {