html2pdf
This commit is contained in:
20
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f001/A.php
vendored
Normal file
20
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f001/A.php
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace DeepCopy\f001;
|
||||
|
||||
class A
|
||||
{
|
||||
private $aProp;
|
||||
|
||||
public function getAProp()
|
||||
{
|
||||
return $this->aProp;
|
||||
}
|
||||
|
||||
public function setAProp($prop)
|
||||
{
|
||||
$this->aProp = $prop;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
20
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f001/B.php
vendored
Normal file
20
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f001/B.php
vendored
Normal file
@ -0,0 +1,20 @@
|
||||
<?php
|
||||
|
||||
namespace DeepCopy\f001;
|
||||
|
||||
class B extends A
|
||||
{
|
||||
private $bProp;
|
||||
|
||||
public function getBProp()
|
||||
{
|
||||
return $this->bProp;
|
||||
}
|
||||
|
||||
public function setBProp($prop)
|
||||
{
|
||||
$this->bProp = $prop;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
33
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f002/A.php
vendored
Normal file
33
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f002/A.php
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
<?php
|
||||
|
||||
namespace DeepCopy\f002;
|
||||
|
||||
class A
|
||||
{
|
||||
private $prop1;
|
||||
private $prop2;
|
||||
|
||||
public function getProp1()
|
||||
{
|
||||
return $this->prop1;
|
||||
}
|
||||
|
||||
public function setProp1($prop)
|
||||
{
|
||||
$this->prop1 = $prop;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getProp2()
|
||||
{
|
||||
return $this->prop2;
|
||||
}
|
||||
|
||||
public function setProp2($prop)
|
||||
{
|
||||
$this->prop2 = $prop;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
26
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f003/Foo.php
vendored
Normal file
26
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f003/Foo.php
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace DeepCopy\f003;
|
||||
|
||||
class Foo
|
||||
{
|
||||
private $name;
|
||||
private $prop;
|
||||
|
||||
public function __construct($name)
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
|
||||
public function getProp()
|
||||
{
|
||||
return $this->prop;
|
||||
}
|
||||
|
||||
public function setProp($prop)
|
||||
{
|
||||
$this->prop = $prop;
|
||||
|
||||
return $this;
|
||||
}
|
||||
}
|
13
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f004/UnclonableItem.php
vendored
Normal file
13
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f004/UnclonableItem.php
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace DeepCopy\f004;
|
||||
|
||||
use BadMethodCallException;
|
||||
|
||||
class UnclonableItem
|
||||
{
|
||||
private function __clone()
|
||||
{
|
||||
throw new BadMethodCallException('Unsupported call.');
|
||||
}
|
||||
}
|
13
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f005/Foo.php
vendored
Normal file
13
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f005/Foo.php
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
<?php
|
||||
|
||||
namespace DeepCopy\f005;
|
||||
|
||||
class Foo
|
||||
{
|
||||
public $cloned = false;
|
||||
|
||||
public function __clone()
|
||||
{
|
||||
$this->cloned = true;
|
||||
}
|
||||
}
|
26
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f006/A.php
vendored
Normal file
26
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f006/A.php
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace DeepCopy\f006;
|
||||
|
||||
class A
|
||||
{
|
||||
public $cloned = false;
|
||||
private $aProp;
|
||||
|
||||
public function getAProp()
|
||||
{
|
||||
return $this->aProp;
|
||||
}
|
||||
|
||||
public function setAProp($prop)
|
||||
{
|
||||
$this->aProp = $prop;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function __clone()
|
||||
{
|
||||
$this->cloned = true;
|
||||
}
|
||||
}
|
26
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f006/B.php
vendored
Normal file
26
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f006/B.php
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
|
||||
namespace DeepCopy\f006;
|
||||
|
||||
class B
|
||||
{
|
||||
public $cloned = false;
|
||||
private $bProp;
|
||||
|
||||
public function getBProp()
|
||||
{
|
||||
return $this->bProp;
|
||||
}
|
||||
|
||||
public function setBProp($prop)
|
||||
{
|
||||
$this->bProp = $prop;
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function __clone()
|
||||
{
|
||||
$this->cloned = true;
|
||||
}
|
||||
}
|
15
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f007/FooDateInterval.php
vendored
Normal file
15
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f007/FooDateInterval.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace DeepCopy\f007;
|
||||
|
||||
use DateInterval;
|
||||
|
||||
class FooDateInterval extends DateInterval
|
||||
{
|
||||
public $cloned = false;
|
||||
|
||||
public function __clone()
|
||||
{
|
||||
$this->cloned = true;
|
||||
}
|
||||
}
|
15
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f007/FooDateTimeZone.php
vendored
Normal file
15
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f007/FooDateTimeZone.php
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
namespace DeepCopy\f007;
|
||||
|
||||
use DateTimeZone;
|
||||
|
||||
class FooDateTimeZone extends DateTimeZone
|
||||
{
|
||||
public $cloned = false;
|
||||
|
||||
public function __clone()
|
||||
{
|
||||
$this->cloned = true;
|
||||
}
|
||||
}
|
18
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f008/A.php
vendored
Normal file
18
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f008/A.php
vendored
Normal file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
namespace DeepCopy\f008;
|
||||
|
||||
class A
|
||||
{
|
||||
private $foo;
|
||||
|
||||
public function __construct($foo)
|
||||
{
|
||||
$this->foo = $foo;
|
||||
}
|
||||
|
||||
public function getFoo()
|
||||
{
|
||||
return $this->foo;
|
||||
}
|
||||
}
|
7
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f008/B.php
vendored
Normal file
7
html2pdf-master/vendor/myclabs/deep-copy/fixtures/f008/B.php
vendored
Normal file
@ -0,0 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace DeepCopy\f008;
|
||||
|
||||
class B extends A
|
||||
{
|
||||
}
|
Reference in New Issue
Block a user