Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
doctrine-dbal
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tomáš Trávníček
doctrine-dbal
Commits
4ae866dd
Commit
4ae866dd
authored
Oct 01, 2007
by
phuson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed $cache to $cacheDriver to be consistent and so that the chapter flows better
parent
999988fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
caching.txt
manual/new/docs/en/caching.txt
+4
-4
No files found.
manual/new/docs/en/caching.txt
View file @
4ae866dd
...
...
@@ -7,7 +7,7 @@
Initializing a new cache driver instance:
<code type="php">
$cache = new Doctrine_Cache_Memcache($options);
$cache
Driver
= new Doctrine_Cache_Memcache($options);
</code>
++ Drivers
...
...
@@ -20,7 +20,7 @@ $servers = array('host' => 'localhost',
'port' => 11211,
'persistent' => true);
$cache = new Doctrine_Cache_Memcache(array('servers' => $servers,
$cache
Driver
= new Doctrine_Cache_Memcache(array('servers' => $servers,
'compression' => false));
</code>
...
...
@@ -36,7 +36,7 @@ The Alternative PHP Cache (APC) is a free and open opcode cache for PHP. It was
The APC cache driver of Doctrine stores cache records in shared memory.
<code type="php">
$cache = new Doctrine_Cache_Apc();
$cache
Driver
= new Doctrine_Cache_Apc();
</code>
...
...
@@ -49,7 +49,7 @@ Initializing sqlite cache driver can be done as above:
<code type="php">
$conn = Doctrine_Manager::connection(new PDO('sqlite::memory:'));
$cache = new Doctrine_Cache_Sqlite(array('connection' => $conn));
$cache
Driver
= new Doctrine_Cache_Sqlite(array('connection' => $conn));
</code>
++ Caching queries
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment