File tree Expand file tree Collapse file tree 2 files changed +2
-28
lines changed
Expand file tree Collapse file tree 2 files changed +2
-28
lines changed Original file line number Diff line number Diff line change 22
33namespace LdapRecord ;
44
5- /**
6- * The Connection interface used for making connections. Implementing
7- * this interface on connection classes helps unit and functional
8- * test classes that require a connection.
9- *
10- * Interface ConnectionInterface
11- */
125interface LdapInterface
136{
147 /**
Original file line number Diff line number Diff line change @@ -55,8 +55,8 @@ public function findByAnr($value, $columns = [])
5555 return $ this ->findManyByAnr ($ value , $ columns );
5656 }
5757
58- // If we're not using ActiveDirectory, we can't use ANR.
59- // We will make our own equivalent query.
58+ // If we're not using ActiveDirectory, we can't use
59+ // ANR. We will make our own equivalent query.
6060 if (!$ this ->model instanceof ActiveDirectory) {
6161 return $ this ->prepareAnrEquivalentQuery ($ value )->first ($ columns );
6262 }
@@ -176,23 +176,4 @@ protected function process(array $results)
176176 {
177177 return $ this ->model ->hydrate (parent ::process ($ results ));
178178 }
179-
180- /**
181- * Parse a list of relations into individuals.
182- *
183- * @param array $relations
184- *
185- * @return array
186- */
187- protected function parseWithRelations (array $ relations )
188- {
189- $ results = [];
190-
191- foreach ($ relations as $ name ) {
192- $ results [$ name ] = function () {
193- };
194- }
195-
196- return $ results ;
197- }
198179}
You can’t perform that action at this time.
0 commit comments