for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/** @formatter:off
* ******************************************************************
* Created by Marko Kungla on Jun 21, 2016 - 3:40:17 AM
* Contact [email protected]
* @copyright 2016 Marko Kungla - https://github.com/mkungla
* @license The MIT License (MIT)
*
* @category AframeVR
* @package aframe-php
* Lang PHP (php version >= 7)
* Encoding UTF-8
* File InvalidComponentMethodException.php
* Code format PSR-2 and 12
* @link https://github.com/mkungla/aframe-php
^ @issues https://github.com/mkungla/aframe-php/issues
* ********************************************************************
* Contributors:
* @author Marko Kungla <[email protected]>
* Comments:
* @formatter:on */
namespace AframeVR\Core\Exceptions;
final class InvalidComponentMethodException extends \BadMethodCallException
{
public function __construct(string $message = 'null', $component_method)
$this->message = sprintf("Called invalid method (%s) for %s!\nFile: %s on line: %s", $message, $component_method, $this->getFile(), $this->getLine());
}