| Server IP : 172.67.187.206 / Your IP : 172.71.28.156 Web Server : Apache/2.4.25 (Win32) OpenSSL/1.0.2j PHP/5.6.30 System : Windows NT WIN-ECQAAA40806 6.2 build 9200 (Windows Server 2012 Standard Edition) i586 User : SYSTEM ( 0) PHP Version : 5.6.30 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /Inetpub/www/game/vendor/mpdf/mpdf/src/ |
Upload File : |
<?php
namespace Mpdf;
trait Strict
{
/**
* @param string $name method name
* @param array $args arguments
*/
public function __call($name, $args)
{
$class = method_exists($this, $name) ? 'parent' : get_class($this);
throw new \Mpdf\MpdfException("Call to undefined method $class::$name()");
}
/**
* @param string $name lowercase method name
* @param array $args arguments
*/
public static function __callStatic($name, $args)
{
$class = get_called_class();
throw new \Mpdf\MpdfException("Call to undefined static function $class::$name()");
}
/**
* @param string $name property name
*/
public function &__get($name)
{
$class = get_class($this);
throw new \Mpdf\MpdfException("Cannot read an undeclared property $class::\$$name");
}
/**
* @param string $name property name
* @param mixed $value property value
*/
public function __set($name, $value)
{
$class = get_class($this);
throw new \Mpdf\MpdfException("Cannot write to an undeclared property $class::\$$name");
}
/**
* @param string $name property name
* @throws \Kdyby\StrictObjects\\Mpdf\MpdfException
*/
public function __isset($name)
{
$class = get_class($this);
throw new \Mpdf\MpdfException("Cannot read an undeclared property $class::\$$name");
}
/**
* @param string $name property name
* @throws \Kdyby\StrictObjects\\Mpdf\MpdfException
*/
public function __unset($name)
{
$class = get_class($this);
throw new \Mpdf\MpdfException("Cannot unset the property $class::\$$name.");
}
}