프로퍼티 | 타입 | 설명 | |
---|---|---|---|
$parents | array | The parents. | |
$repository | CommerceGuys\Addressing\Subdivision\SubdivisionRepositoryInterface | The subdivision repository. |
메소드 | 설명 | |
---|---|---|
__construct ( array $parents ) | Creates a LazySubdivisionCollection instance. | |
getRepository ( ) : CommerceGuys\Addressing\Subdivision\SubdivisionRepositoryInterface | Gets the subdivision repository. | |
setRepository ( CommerceGuys\Addressing\Subdivision\SubdivisionRepositoryInterface $repository ) | Sets the subdivision repository. |
메소드 | 설명 | |
---|---|---|
doInitialize ( ) |
public __construct ( array $parents ) | ||
$parents | array | The parents (country code, subdivision codes). |
public getRepository ( ) : CommerceGuys\Addressing\Subdivision\SubdivisionRepositoryInterface | ||
리턴 | CommerceGuys\Addressing\Subdivision\SubdivisionRepositoryInterface | The subdivision repository. |
public setRepository ( CommerceGuys\Addressing\Subdivision\SubdivisionRepositoryInterface $repository ) | ||
$repository | CommerceGuys\Addressing\Subdivision\SubdivisionRepositoryInterface | The subdivision repository. |