src/Repositories/TaxClassRepository.php
/**
     * Return's an array with the available tax classes and their
     * class names as keys.
     *
     * @return array The array with all available tax classes
     */
Return's an array with the available tax classes and their
class names as keys.

@return array The array with all available tax classes
Return ' s an array with the available tax classes and their class names as keys . @return array The array with all available tax classes
public function findAll()
    {
        $taxClasses = array();
        $this->taxClassesStmt->execute();
        $availableTaxClasses = $this->taxClassesStmt->fetchAll();
        foreach ($availableTaxClasses as $taxClass) {
            $taxClasses[$taxClass[MemberNames::CLASS_NAME]] = $taxClass;
        }
        return $taxClasses;
    }
public function findAll ( ) { $ taxClasses = array ( ) ; $ this -> taxClassesStmt -> execute ( ) ; $ availableTaxClasses = $ this -> taxClassesStmt -> fetchAll ( ) ; foreach ( $ availableTaxClasses as $ taxClass ) { $ taxClasses [ $ taxClass [ MemberNames :: CLASS_NAME ] ] = $ taxClass ; } return $ taxClasses ; }
Return's an array with the available tax classes and their
 class names as keys.
Return ' s an array with the available tax classes and their class names as keys .
// initialize the array with the available tax classes // execute the prepared statement // load the available tax classes // fetch the tax classes and assemble them as array with the class name as key // return the array with the tax classes