src/Repositories/AdminUserRepository.php
/**
     * Load's and return's the admin user with the passed username.
     *
     * @param string $username The username of the admin user to return
     *
     * @return array|null The admin user with the passed username
     */
Load's and return's the admin user with the passed username.
@param string $username The username of the admin user to return

@return array|null The admin user with the passed username
Load ' s and return ' s the admin user with the passed username . @param string $username The username of the admin user to return @return array|null The admin user with the passed username
public function findOneByUsername($username)
    {
        $params = array(MemberNames::USERNAME => $username);
        $this->adminUserByUsernameStmt->execute($params);
        return $this->adminUserByUsernameStmt->fetch(\PDO::FETCH_ASSOC);
    }
public function findOneByUsername ( $ username ) { $ params = array ( MemberNames :: USERNAME => $ username ) ; $ this -> adminUserByUsernameStmt -> execute ( $ params ) ; return $ this -> adminUserByUsernameStmt -> fetch ( \ PDO :: FETCH_ASSOC ) ; }
Load's and return's the admin user with the passed username.
Load ' s and return ' s the admin user with the passed username .
// the parameters of the admin user to load // load and return the admin user with the passed parameters