Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

update partner interface to use the new interface

  • Loading branch information...
commit 2cf00dd6cc3086cafc5cf63bd22a9dce81656b29 1 parent 4d443f2
Luis Cordova authored January 20, 2013 iampersistent committed March 16, 2013
2  lib/Vespolina/Entity/Partner/PersonalDetails.php
@@ -113,7 +113,7 @@ public function getPartner()
113 113
 	/**
114 114
 	 * {@inheritdoc}
115 115
 	 */
116  
-    public function setPartner(\Vespolina\PartnerBundle\Document\Partner $partner)
  116
+    public function setPartner(PartnerInterface $partner)
117 117
     {
118 118
         $partner->setPersonalDetails($this);
119 119
         $this->partner = $partner;
28  lib/Vespolina/Entity/Partner/PersonalDetailsInterface.php
@@ -14,70 +14,70 @@
14 14
      * @param string $initials
15 15
      */
16 16
     function setInitials($initials);
17  
-    
  17
+
18 18
     /**
19 19
      * Get initials of customer
20 20
      * @return string
21 21
      */
22 22
     function getInitials();
23  
-    
  23
+
24 24
     /**
25 25
      * Set firstname of customer
26 26
      * @param string $firstname
27 27
      */
28 28
     function setFirstname($firstname);
29  
-    
  29
+
30 30
     /**
31 31
      * Get firstname of customer
32 32
      * @return string
33 33
      */
34 34
     function getFirstname();
35  
-    
  35
+
36 36
     /**
37 37
      * Set prefix of customer
38 38
      * @param string $prefix
39 39
      */
40 40
     function setPrefix($prefix);
41  
-    
  41
+
42 42
     /**
43 43
      * Get prefix of customer
44 44
      * @return string
45 45
      */
46 46
     function getPrefix();
47  
-    
  47
+
48 48
     /**
49 49
      * Set lastname of customer
50 50
      * @param string $lastname
51 51
      */
52 52
     function setLastname($lastname);
53  
-    
  53
+
54 54
     /**
55 55
      * Get lastname of customer
56 56
      * @return string
57 57
      */
58 58
     function getLastname();
59  
-    
  59
+
60 60
     /**
61 61
      * Set national identification number
62 62
      * @param string $nationalIdentificationNumber
63 63
      */
64 64
     function setNationalIdentificationNumber($nationalIdentificationNumber);
65  
-    
  65
+
66 66
     /**
67 67
      * Get national identification number
68 68
      * @return string
69 69
      */
70 70
     function getNationalIdentificationNumber();
71  
-    
  71
+
72 72
     /**
73 73
      * Set the partner for this personalDetails
74  
-     * @param Vespolina\PartnerBundle\Document\Partner
  74
+     * @param \Vespolina\Entity\Partner\PartnerInterface
75 75
      */
76  
-    function setPartner(\Vespolina\PartnerBundle\Document\Partner $partner);
77  
-    
  76
+    function setPartner(PartnerInterface $partner);
  77
+
78 78
     /**
79 79
      * Get the referenced partner
80  
-     * @return Vespolina\PartnerBundle\Document\Partner
  80
+     * @return \Vespolina\Entity\Partner\PartnerInterface
81 81
      */
82 82
     function getPartner();
83 83
 }

0 notes on commit 2cf00dd

Please sign in to comment.
Something went wrong with that request. Please try again.