1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82
|
From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Mon, 6 Apr 2015 14:46:41 -0400
Subject: Point to homemade autoload.php in docs and examples
Forwarded: not-needed
---
docs/access-interceptor-scope-localizer.md | 2 +-
docs/access-interceptor-value-holder.md | 2 +-
docs/lazy-loading-ghost-object.md | 6 +++---
docs/lazy-loading-value-holder.md | 2 +-
4 files changed, 6 insertions(+), 6 deletions(-)
diff --git a/docs/access-interceptor-scope-localizer.md b/docs/access-interceptor-scope-localizer.md
index 1d11851..cc0a755 100644
--- a/docs/access-interceptor-scope-localizer.md
+++ b/docs/access-interceptor-scope-localizer.md
@@ -78,7 +78,7 @@ Here's an example of how you can create and use an access interceptor scope loca
use ProxyManager\Factory\AccessInterceptorScopeLocalizerFactory as Factory;
-require_once __DIR__ . '/vendor/autoload.php';
+require_once 'ProxyManager/autoload.php';
class Foo
{
diff --git a/docs/access-interceptor-value-holder.md b/docs/access-interceptor-value-holder.md
index e57bcd9..d0f6894 100644
--- a/docs/access-interceptor-value-holder.md
+++ b/docs/access-interceptor-value-holder.md
@@ -25,7 +25,7 @@ Here's an example of how you can create and use an access interceptor value hold
use ProxyManager\Factory\AccessInterceptorValueHolderFactory as Factory;
-require_once __DIR__ . '/vendor/autoload.php';
+require_once 'ProxyManager/autoload.php';
class Foo
{
diff --git a/docs/lazy-loading-ghost-object.md b/docs/lazy-loading-ghost-object.md
index d94e6d8..eeb7170 100644
--- a/docs/lazy-loading-ghost-object.md
+++ b/docs/lazy-loading-ghost-object.md
@@ -93,7 +93,7 @@ namespace MyApp;
use ProxyManager\Factory\LazyLoadingGhostFactory;
use ProxyManager\Proxy\GhostObjectInterface;
-require_once __DIR__ . '/vendor/autoload.php';
+require_once 'ProxyManager/autoload.php';
$factory = new LazyLoadingGhostFactory();
$initializer = function (
@@ -217,7 +217,7 @@ namespace MyApp;
use ProxyManager\Factory\LazyLoadingGhostFactory;
use ProxyManager\Proxy\GhostObjectInterface;
-require_once __DIR__ . '/vendor/autoload.php';
+require_once 'ProxyManager/autoload.php';
$factory = new LazyLoadingGhostFactory();
$initializer = function (
@@ -360,7 +360,7 @@ namespace MyApp;
use ProxyManager\Factory\LazyLoadingGhostFactory;
use ProxyManager\Proxy\GhostObjectInterface;
-require_once __DIR__ . '/vendor/autoload.php';
+require_once 'ProxyManager/autoload.php';
$factory = new LazyLoadingGhostFactory();
$initializer = function (
diff --git a/docs/lazy-loading-value-holder.md b/docs/lazy-loading-value-holder.md
index 326ce70..45067d5 100644
--- a/docs/lazy-loading-value-holder.md
+++ b/docs/lazy-loading-value-holder.md
@@ -83,7 +83,7 @@ namespace MyApp;
use ProxyManager\Factory\LazyLoadingValueHolderFactory;
use ProxyManager\Proxy\LazyLoadingInterface;
-require_once __DIR__ . '/vendor/autoload.php';
+require_once 'ProxyManager/autoload.php';
$factory = new LazyLoadingValueHolderFactory();
$initializer = function (& $wrappedObject, LazyLoadingInterface $proxy, $method, array $parameters, & $initializer) {
|