Skip to content

Commit 2f425c8

Browse files
committed
Marked the Ldap component as internal and removed Ldap constants polyfill
1 parent 2d28715 commit 2f425c8

File tree

5 files changed

+15
-6
lines changed

5 files changed

+15
-6
lines changed

Exception/ConnectionException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* ConnectionException is throw if binding to ldap can not be established.
1616
*
1717
* @author Grégoire Pineau <lyrixx@lyrixx.info>
18+
*
19+
* @internal
1820
*/
1921
class ConnectionException extends \RuntimeException
2022
{

Exception/LdapException.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* LdapException is throw if php ldap module is not loaded.
1616
*
1717
* @author Grégoire Pineau <lyrixx@lyrixx.info>
18+
*
19+
* @internal
1820
*/
1921
class LdapException extends \RuntimeException
2022
{

LdapClient.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
* @author Grégoire Pineau <lyrixx@lyrixx.info>
1919
* @author Francis Besset <francis.besset@gmail.com>
2020
* @author Charles Sarrazin <charles@sarraz.in>
21+
*
22+
* @internal
2123
*/
2224
class LdapClient implements LdapClientInterface
2325
{

LdapClientInterface.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,11 @@
1818
*
1919
* @author Grégoire Pineau <lyrixx@lyrixx.info>
2020
* @author Charles Sarrazin <charles@sarraz.in>
21+
*
22+
* @internal
2123
*/
2224
interface LdapClientInterface
2325
{
24-
const LDAP_ESCAPE_FILTER = 0x01;
25-
const LDAP_ESCAPE_DN = 0x02;
26-
2726
/**
2827
* Return a connection bound to the ldap.
2928
*

README.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,14 @@
11
Ldap Component
2-
=============
2+
==============
33

44
A Ldap client for PHP on top of PHP's ldap extension.
55

6-
This component also provides a stub for the missing
7-
`ldap_escape` function in PHP versions lower than 5.6.
6+
Disclaimer
7+
----------
8+
9+
This component is currently marked as internal, as it
10+
still needs some work. Breaking changes will be introduced
11+
in the next minor version of Symfony.
812

913
Documentation
1014
-------------

0 commit comments

Comments
 (0)