Marco Pivetta
6fc0d84b7a
DDC-3427 - s/EntityManager/EntityManagerInterface in type-hints
2015-01-16 14:21:30 +01:00
Guilherme Blanco
f90475772d
Classify persisters into more granular namespaces.
2015-01-16 00:10:25 +01:00
Marco Pivetta
8e28cb9119
Removing useless $self
use
statements, as PHP 5.4 supports $this
in closures
2015-01-14 20:12:27 +01:00
Marco Pivetta
fc72b41953
#1240 DDC-3479 - Using a static proxy constructor rather than the default constructor
2015-01-13 02:51:47 +01:00
Marco Pivetta
66c556fbfd
#1240 DDC-3479 - Fixing minor CS issues (naming, alignment)
2015-01-13 02:48:57 +01:00
Lars Strojny
8e4092750d
Include IDs in the exception message to ease debugging
2015-01-13 02:41:05 +01:00
Christian Schmidt
89684b4ce9
Document that AUTOGENERATE_ constants are allowed
2014-11-21 21:11:32 +01:00
Per Persson
7ef1063007
Pass class name to constructor.
2014-02-11 23:44:24 +01:00
Benjamin Morel
412e4ab9da
Cleaned up unused imports
2014-02-09 22:12:51 +00:00
yktd26
c9e06a6854
Format code
2013-12-31 12:25:14 +01:00
yktd26
bee74f898d
autoGenerate arg from bool to int
...
For using all four modes of proxies generation, change the 4th arg of
ProxyFactory's constructor to integer
2013-12-31 11:58:36 +01:00
Fabio B. Silva
3140593e9b
Second level cache
2013-12-16 11:05:04 -05:00
Marco Pivetta
22c9f6ebec
applying required fixes for DDC-2432
2013-05-09 21:14:58 +02:00
MDrollette
1846f5845c
alias the proxy class on import to avoid "already exists" error
2013-03-01 11:58:51 -06:00
Marco Pivetta
a58d4ae462
Cleaning up logic of the proxy factory by moving closure generation to own private methods
2013-02-14 10:52:13 +01:00
Marco Pivetta
271f5cf033
Adding fix and tests for DDC-1734
2013-02-14 09:57:12 +01:00
Marco Pivetta
8272ffd23f
Proxy generation as of doctrine/common#168 - DCOM-96
2013-02-14 09:57:12 +01:00
Benjamin Eberlei
ce290bc99b
DDC-1698 - Allow autoload registration from a Configuration instance
2013-01-06 11:07:19 +01:00
Benjamin Eberlei
7dfe0cae08
DDC-1698 - Prepend autoloader to stack and fix CS
2013-01-06 11:03:58 +01:00
Benjamin Morel
42e83a2716
Fixed documentation for ORM\Proxy
2012-12-13 10:28:55 +00:00
jakoch
d4a6c488ca
fixed use statements
2012-10-12 13:53:20 +02:00
Marco Pivetta
aa0cb0b6d7
DDC-1939 - Removing references to non-existing AssociationMapping class
2012-07-24 11:37:57 +02:00
Benjamin Eberlei
82e1d7fa80
[DDC-1735] Change file_put_contents with LOCK_EX usage to temporary filename + rename, which works on Windows NFS drives.
2012-07-05 22:20:16 +02:00
Fabio B. Silva
d3d97e7ef8
remove svn markers
2012-06-19 15:27:41 -03:00
Benjamin Eberlei
70458b2f48
LGPL => MIT
2012-05-26 14:37:00 +02:00
Marco Pivetta
d1e868a32a
Removing registration of proxy ClassMetadata by the proxyFactory
...
Ensuring that functionality is kept by checking for the real class name in the ClassMetadataFactory
2012-04-07 18:53:34 +02:00
Benjamin Eberlei
d54fdf43d0
[DDC-1771] Abstract classes cannot be proxies and should be skipped in complete generation.
2012-04-07 10:30:09 +02:00
Hugo Hamon
c4dcd39666
[Proxy] renamed AS to as.
2012-03-24 11:07:39 +01:00
Benjamin Eberlei
9b4d60897d
[DDC-1698] Add autoloader especially for the non PSR-0 Proxy class names. This is necessary when you want to deserialize your proxy classes from the session.
2012-03-14 20:03:17 +01:00
Guilherme Blanco
bf80ee6a30
[DDC-1673] Fixed unused in ProxyFactory.
2012-03-03 13:16:26 -05:00
Andreas Hucks
1d927541e2
added type hint
2012-02-14 19:12:20 +01:00
Andreas Hucks
3419c65efe
fixed docblock
2012-02-14 19:08:44 +01:00
Andreas Hucks
2e81fbfd64
added type hint
2012-02-14 19:08:17 +01:00
Miha Vrhovnik
bea78f42e3
Proxy not initialized when parent has get<IDENTIFIER> function. Fixes DDC-1625
2012-01-30 11:44:08 +01:00
Benjamin Eberlei
6b1ef08a46
Merge pull request #162 from ericclemmons/patch-1
...
ProxyFactory creates proxy's parent structure if it doesn't exist
2012-01-28 13:12:26 -08:00
Benjamin Eberlei
a029b28423
[DDC-1604] Have ORM Proxy implement new \Doctrine\Common\Persistence\Proxy
...
* Adjust ProxyFactory to generate proxies according to new naming schema.
* Change proxy naming and file-name generation to be a bit more consistent than previous approach.
[DDC-1598] Additional regexp to check for simple ID methods to make it even more safe.
2012-01-16 12:50:36 +01:00
Benjamin Eberlei
cd6131c9b8
Remove all trailing whitespaces
2011-12-19 22:56:19 +01:00
Benjamin Eberlei
4571e498b4
DDC-1477 - Adjust patch to really fix bug in Proxy generation
2011-11-13 17:16:43 +01:00
Benjamin Eberlei
4e10a95dca
Merge branch 'master' of https://github.com/thiagofesta/doctrine2 into thiagofesta-master
2011-11-13 17:05:23 +01:00
Alexander
0cc176aae2
Do not cast BigInt to (int)
2011-11-08 09:47:33 +01:00
Alexander
6707129a3e
Added type casts to 'non-lazy' identifiers in proxies.
2011-11-08 09:43:06 +01:00
Thiago Festa
66d2b9e0fb
The ProxyFactory was redeclaring methods serialize and unserialize on the cache file on some OSs.
2011-10-28 17:54:15 -02:00
Eric Clemmons
5b64dbe195
Added error suppression to mkdir in ProxyFactory
...
See: Symfony\Component\HttpKernel\Kernel#buildContainre
2011-10-25 11:51:09 -07:00
Eric Clemmons
48bf5022e4
ProxyFactory always checks if directory is writable first
2011-10-24 19:45:23 -07:00
Eric Clemmons
99c1383ef5
If proxy directory doesn't exist & cannot be created via mkdir, a ProxyException is thrown
2011-10-24 19:32:38 -07:00
Eric Clemmons
fde9d122cc
ProxyFactory checks presence of directory with is_dir
instead of file_exists
2011-10-20 13:33:20 -07:00
Eric Clemmons
92acd32410
ProxyFactory creates proxy's parent structure if it doesn't exist
2011-10-20 09:35:41 -07:00
Benjamin Eberlei
ca01065c6a
Bugfix in short identifier shortcut with association ids
2011-10-19 11:58:59 +02:00
Benjamin Eberlei
7e571212a7
Merge pull request #109 from alOneh/patch-1
...
Remove trailing spaces
2011-10-15 11:39:56 -07:00
Alexander
f47e1feac6
Merge branch 'master' of git://github.com/doctrine/doctrine2 into ProxyIdentifer
...
Conflicts:
lib/Doctrine/ORM/Proxy/ProxyFactory.php
2011-10-15 17:24:13 +02:00